Search1API
Utility

Usage

Return the remaining credit balance for the authenticated Search1API account.

GET
/usage

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

period?string

Value in

  • "day"
  • "week"
  • "month"
  • "year"

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/usage"
{  "usage": 0,  "user_id": "string",  "credential_type": "api_key",  "client_id": "string"}
{  "ok": false,  "error": "string",  "message": "string",  "errors": [    {      "field": "string",      "message": "string",      "code": "string"    }  ],  "type": "http://example.com",  "title": "string",  "status": 0,  "detail": "string"}
{  "ok": false,  "error": "string",  "message": "string",  "errors": [    {      "field": "string",      "message": "string",      "code": "string"    }  ],  "type": "http://example.com",  "title": "string",  "status": 0,  "detail": "string"}
{  "ok": false,  "error": "string",  "message": "string",  "errors": [    {      "field": "string",      "message": "string",      "code": "string"    }  ],  "type": "http://example.com",  "title": "string",  "status": 0,  "detail": "string"}
{  "ok": false,  "error": "string",  "message": "string",  "errors": [    {      "field": "string",      "message": "string",      "code": "string"    }  ],  "type": "http://example.com",  "title": "string",  "status": 0,  "detail": "string"}