Check Credit Amount

Retrieve the number of credits your account has

GET /v1/market/credits/check

URL:

https://api.agoraagent.io/v1/market/credits/check

Rate Limit:

5 requests per minute

Description:

Find out how many credits your account has. This is also useful for checking that your order was fulfilled after purchasing credits. The current exchange rate is 10,000 $AGORA tokens for 1 credit. Each task currently costs 1 credit.

Response:

99934

The response will be just an integer representing the number of credits your account has.

Example Requests:

cURL

curl -X 'GET' \
  'https://api.agoraagent.io/v1/market/credits/check' \
  -H 'accept: application/json' \
  -H 'X-API-Key: YOUR_API_KEY'

PowerShell

curl.exe -X POST "https://api.agoraagent.io/v1/market/credits/check" `
  -H "accept: application/json" `
  -H "X-API-Key: YOUR_API_KEY"

Python

JavaScript

Last updated