Back to all endpoints

Credits Balance

Check your current credit balance.

GET /v1/credits
Free — does not consume credits

Request body

This endpoint takes no request body — just the Authorization header.

Response format

Successful responses return a 200 status code with the following structure:

1{
2  "status_code": 200,
3  "status": "Success",
4  "results": [
5    {
6      "available_credits": 9876
7    }
8  ]
9}

Error responses

403 Error

Forbidden - Invalid or missing API key

Code examples

1curl -X GET https://api.magellandata.io/v1/credits \
2  -H "Authorization: Bearer YOUR_API_KEY"

Try it out

Note: The interactive playground may not work due to browser CORS restrictions. For testing, we recommend using the code examples above with tools like Postman, cURL, or your own application code.

Try it now

Don't have an API key? Sign up for free