Search1API文档

Usage

Return the remaining credit balance for the authenticated Search1API account.

GET
/usage

Authorization

bearerAuth
headerAuthorizationBearer <token>

Query Parameters

period?string
Value in"day""week""month""year"

Response Body

Successful response

application/json
  1. response
usage*integer
Range0 <= value
user_id?string|null
credential_type*string
Value in"api_key""oauth"
client_id?string|null
curl -X GET 'https://api.search1api.com/usage'
{  "usage": 0,  "user_id": "string",  "credential_type": "api_key",  "client_id": "string"}