Seeking Alpha

FREEMIUM
Verified
By Api Dojo | Updated 17 दिन पहले | Finance
Popularity

9.9 / 10

Latency

1,796ms

Service Level

100%

Health Check

N/A

Back to All Discussions

[:marketcap] is not a valid field for Screeners

Rapid account: Philipmassey HIS 35 Gc RW 3 Y
philipmassey-HIS35GcRW3Y
2 वर्ष पहले

The detail of some screeners now includes the marketcap filter, eg:
Top Yield Monsters {“quant_rating”: {“gte”: 3.5, “lte”: 5.0}, “marketcap”: {“gte”: 100000000.0}, “dividend_yield”: {“gte”: 5.0}}
The get-results api returns:
{“errors”:[{“code”:“104”,“detail”:"[:marketcap] is not a valid field for Screeners::Search.",“status”:“400”,“title”:“Invalid field”}]}

Rapid account: Philipmassey HIS 35 Gc RW 3 Y
philipmassey-HIS35GcRW3Y Commented 2 वर्ष पहले

The workaround is no longer required for ‘marketcap_display’, I’m quessing a fix was made to the api.
Some mismatch is now in place where the api:
"https://seeking-alpha.p.rapidapi.com/screeners/list"
returns fields:
Top Rated Stocks,{“quant_rating”: {“gte”: 3.5, “lte”: 5.0}, “authors_rating_pro”: {“gte”: 3.5, “lte”: 5.0}, “sell_side_rating”: {“gte”: …
The do not match the fields in:
"https://seeking-alpha.p.rapidapi.com/screeners/get-results"
Can I see what has change?

Rapid account: Philipmassey HIS 35 Gc RW 3 Y
philipmassey-HIS35GcRW3Y Commented 2 वर्ष पहले

Thank you!
I’m using filters from the the screener list call :
url = "https://seeking-alpha.p.rapidapi.com/screeners/list"
and the screener in resonse text is:
{“id”:“9679329d”,“type”:“screener”,“attributes”:{“name”:“Top Yield Monsters”,“description”:“Stocks yielding above 6% with a Quant Rating of Strong Buy or Buy”,“filters”:{“quant_rating”:{“gte”:3.5,“lte”:5.0},“marketcap”:{“gte”:100000000.0},“dividend_yield”:{“gte”:5.0}},“category”:“public”,“userId”:null},“meta”:{“results_count”:39}},

A work around is to jreplace ‘marketcap’ with ‘marketcap_display’

Rapid account: Apidojo
apidojo Commented 2 वर्ष पहले

Hello,

You first need to use …/screener-filters/list to get supported filters and the correct id. The id is “marketcap_display”.
You may try again with :

“marketcap_display”: {
“lte”: 1000000000
}
Regards.

Join in the discussion - add comment below:

Login / Signup to post new comments