Credit Balance

Cost: 0 credit.

Get your current credit(s) balance

GET/api/v1/credit-check

View Credit Balance Endpoint

Request

GET
/v1/credit-check
  curl --location 'https://api.datamagnet.co/api/v1/credit-check' \
  --header 'Authorization: Bearer {token}' \
  --header 'Content-Type: application/json' \

Response


{
"remaining_credits": 10000,
"total_credits": 10000,
"used_credits": 0,
"api_key": "xxxxxx"
}


The Credit Model

Properties

  • Name
    remaining_credits
    Type
    integer
    Description

    The number of credits remaining in the account.

  • Name
    total_credits
    Type
    integer
    Description

    The total number of credits in the account.

  • Name
    used_credits
    Type
    integer
    Description

    The number of credits used in the account.

  • Name
    api_key
    Type
    string
    Description

    API key used in the request.