Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

python indeed api doesnt return more than 1025 results

Here's the code i am trying:

from indeed import IndeedClient
client = IndeedClient(publisher = 97xxxxxxxxxxxxxx)
params = {
    'q' : 'teradata',
    'userip' : "1.2.3.4",
    'useragent' : "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2)",
    'limit': 5
    ,'start':1654
    ,'sort':'date'
}
search_response = client.search(**params)

The response tells you that there are 3222 total responses (which btw is not the same result you get if you actually search "teradata" on indeed but thats another issue).

now this should return 5 results from result #1654 onwards, however only returns 5 results from #1001. in fact adjusting the 'start' variable anywhere above 1000 is completely ineffective.

this is a pretty old api (https://github.com/indeedlabs/indeed-python) so I'm not sure if this simply wasnt updated or something. Is there a way around this limit please?

like image 982
swyx Avatar asked Feb 19 '26 09:02

swyx


1 Answers

Indeed API allows a maximum of 1025 results per query and as it returns a maximum of 25 results per API call, you will have up to 41 pages per query.

like image 165
kashaziz Avatar answered Feb 20 '26 23:02

kashaziz



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!