GET
/creditsGet Credits
This method retrieves the call limitations associated with your account. These limitations are defined by the commercial terms of your account,
which were established when the account was created and may be updated to reflect any changes in those terms.
- •validtill: This parameter indicates the expiration or 'valid till' date for your account.
- •calls: This parameter retrieves the maximum number of calls allowed on your account over various time periods (per second, minute, hour, day, week, or month).
- •pullsperday, rateshops, horizonmax, and schedules: These are refer to the maximum permissible limits for these specific features on your account.
GET
/creditsResponses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Success | |
| 400 | Bad Request | Bad Request | None |
| 401 | Unauthorized | Authentication Failed or Account validity expired | None |
| 500 | Internal Server Error | Internal server error | None |
Example Request
# You can also use wget
curl -X GET /credits \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
Example responses
200 Response
{
"validtill": "2019-08-24",
"calls": {
"monthly": 0,
"weekly": 0,
"daily": 0,
"hourly": 0,
"minute": 0,
"second": 0
},
"pullsperday": 0,
"rateshops": {
"allowed": 0,
"used": 0,
"available": 0
},
"horizonmax": 0,
"schedules": {
"allowed": 0,
"used": 0,
"available": 0
}
}
Need Support?
Our team is here to help you integrate and make the most of our APIs. Get in touch for technical support, custom solutions, or any questions.