GET https://api.cryptohopper.com/v1/ai/credits/transactions

Returns the credits added to and used from your AI credit balance, newest first, up to 500, with the name of the AI that used them.

OAuth scope: read About scopes

transaction_type is in for credits added and out for credits used. ai_id is 0 and ai_name null for transactions not tied to an AI.

Example request

curl "https://api.cryptohopper.com/v1/ai/credits/transactions" \
  -H "access-token: YOUR_ACCESS_TOKEN"

Parameters

Headers

NameTypeRequiredDescription
access-token string Required The OAuth access token of the user.

Response

Example response (illustrative values)

{
    "data": [
        {
            "id": "66901",
            "user_id": "123456",
            "ai_id": "87001",
            "transaction_type": "out",
            "total_credits": "0.50",
            "description": "AI Credits use",
            "created": "2026-09-25 08:00:04",
            "ai_name": "My BTC AI"
        }
    ]
}

Status codes: 200. Errors return JSON with status, error and message. See How the API works for response codes and rate limits.