Requests
Every endpoint lives at:- GET endpoints take parameters in the query string. List parameters repeat, as in
?ids[]=1&ids[]=2. - POST endpoints take a JSON body. Send
Content-Type: application/json. - Unknown parameters are ignored. Invalid ones are rejected with
422 invalid_parametersbefore anything is charged. - Some sources are slower than others. Allow up to 60 seconds per call; after that the call fails with
504 timeout, free.
Responses
Successful calls return the data as JSON with no wrapper. Metadata travels in headers, and the credit and rate-limit headers are on errors too.
Errors have their own shape. See Errors.