question

Upvote
Accepted
154 16 24 35

Entitiy Search API HTTP status code

I am using the Entitiy Search API. What HTTP status code is returned if I issue a request but the daily limit of my access token has been reached?

permid-apiintelligent-tagging-apiopen-permid-apihttpstatusentity
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Upvotes
Accepted
1.2k 23 31 44

HTTP/429 is used for both exceeding ones permitted request rate and for exceeding the daily permitted request count.

HTTP/503 is also noteworthy here for when the server has reached capacity and is unable to fulfil the request.

One would have to parse the response text to determine which limit is breached.

The OpenCalais User Guide §1.3 states the account limits start at 0.5-1 per second, 5,000 per day, and 100KB maximum article size.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Thank for the reply. What is the permitted request rate in this case?

@andy it would have been provided alongside your credentials and daily quota. Note that requests exceeding the request rate will count against the daily quota and thus the client should be designed to throttle itself.

I see that I must wait 750 milliseconds in between each request now. I was not told explicitly what my daily quota is, but having read the documentation is it 5000 per day?

Show more comments

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.