ScopeAI Account API
The Account API from ScopeAI — 5 operation(s) for account.
The Account API from ScopeAI — 5 operation(s) for account.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/scopeai-cc:scopeai-cc-account-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: ScopeAI GEO API and Agent Discovery Account API
version: v1-agents-0.2
description: GEO 品牌项目、公开资料观察、模型回答采样、周期监测,以及完成这些任务所需的账户与计费契约。实际开放目标与价格以 capabilities、pricing 和 geo/targets 为准。资料观察不代表各 AI 产品的真实回答;模型 API 采样不等同于消费端网页或 App。
servers:
- url: https://scopeai.cc
security:
- bearerAuth: []
tags:
- name: Account
paths:
/api/v1/account/balance:
get:
summary: 免费查询人民币总额、冻结、可用和累计消费
parameters: []
responses:
'200':
description: 成功,费用以 meta.billing 为准
content:
application/json:
schema:
$ref: '#/components/schemas/Balance'
'400':
description: 输入错误
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: 密钥无效或已撤销
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'402':
description: 可用余额不足,未扣款
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: 未授权或产品未开放
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: 价格、幂等或内容版本冲突
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: 频率超过限制;遵守 Retry-After
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: 服务暂不可用
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- Account
operationId: getApiV1AccountBalance
x-operation-id-source: derived
/api/v1/account/transactions:
get:
summary: 免费分页查询自己的充值、消费和服务退款
parameters:
- name: limit
in: query
required: false
schema:
type: integer
minimum: 1
maximum: 100
default: 20
- name: cursor
in: query
required: false
schema:
type: string
- name: sku
in: query
required: false
schema:
enum:
- geo.research.standard
- geo.measurement.standard
- geo.article.standard
- name: from
in: query
required: false
schema:
type: string
format: date-time
- name: to
in: query
required: false
schema:
type: string
format: date-time
- name: resource_key
in: query
required: false
schema:
type: string
description: GEO 任务编号
responses:
'200':
description: 成功,费用以 meta.billing 为准
content:
application/json:
schema:
$ref: '#/components/schemas/Transactions'
'400':
description: 输入错误
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: 密钥无效或已撤销
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'402':
description: 可用余额不足,未扣款
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: 未授权或产品未开放
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: 价格、幂等或内容版本冲突
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: 频率超过限制;遵守 Retry-After
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: 服务暂不可用
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- Account
operationId: getApiV1AccountTransactions
x-operation-id-source: derived
/api/v1/account/usage:
get:
summary: 成功与失败请求状态、耗时和密钥分页;无效密钥无法归属账户
parameters:
- name: limit
in: query
required: false
schema:
type: integer
minimum: 1
maximum: 100
default: 20
- name: cursor
in: query
required: false
schema:
type: string
- name: from
in: query
required: false
schema:
type: string
format: date-time
- name: to
in: query
required: false
schema:
type: string
format: date-time
- name: key_id
in: query
required: false
schema:
type: string
format: uuid
- name: status
in: query
required: false
schema:
type: integer
minimum: 100
maximum: 599
responses:
'200':
description: 成功
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
type: object
properties:
id:
type: string
format: uuid
key_id:
type: string
format: uuid
endpoint:
type: string
method:
type: string
status:
type: integer
duration_ms:
type: integer
error_code:
type:
- string
- 'null'
created_at:
type: string
required:
- id
- key_id
- endpoint
- method
- status
- duration_ms
- error_code
- created_at
additionalProperties: false
meta:
type: object
properties:
request_id:
type: string
format: uuid
next_cursor:
type:
- string
- 'null'
required:
- request_id
additionalProperties: true
required:
- data
- meta
additionalProperties: false
'400':
description: 错误代码见响应 error.code;不新增扣费
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: 错误代码见响应 error.code;不新增扣费
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: 错误代码见响应 error.code;不新增扣费
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: 错误代码见响应 error.code;不新增扣费
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: 错误代码见响应 error.code;不新增扣费
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'413':
description: 错误代码见响应 error.code;不新增扣费
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'415':
description: 错误代码见响应 error.code;不新增扣费
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: 错误代码见响应 error.code;不新增扣费
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: 错误代码见响应 error.code;不新增扣费
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- Account
operationId: getApiV1AccountUsage
x-operation-id-source: derived
/api/v1/account/limits:
get:
summary: 账户日预算和对账暂停状态;修改额度在登录后的账户页面
parameters: []
responses:
'200':
description: 成功
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
daily_cents:
type: integer
paused:
type: boolean
reason:
type: string
key:
type: object
properties:
key_id:
type: string
format: uuid
daily_cents:
type: integer
required:
- key_id
- daily_cents
additionalProperties: false
required:
- daily_cents
- paused
- reason
- key
additionalProperties: false
meta:
type: object
properties:
request_id:
type: string
format: uuid
next_cursor:
type:
- string
- 'null'
required:
- request_id
additionalProperties: true
required:
- data
- meta
additionalProperties: false
'400':
description: 错误代码见响应 error.code;不新增扣费
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: 错误代码见响应 error.code;不新增扣费
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: 错误代码见响应 error.code;不新增扣费
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: 错误代码见响应 error.code;不新增扣费
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: 错误代码见响应 error.code;不新增扣费
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'413':
description: 错误代码见响应 error.code;不新增扣费
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'415':
description: 错误代码见响应 error.code;不新增扣费
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: 错误代码见响应 error.code;不新增扣费
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: 错误代码见响应 error.code;不新增扣费
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- Account
operationId: getApiV1AccountLimits
x-operation-id-source: derived
/api/v1/account/transactions/export:
get:
summary: 按条件导出CSV资金流水,最多10000条;超限请缩小日期范围
parameters:
- name: sku
in: query
required: false
schema:
enum:
- geo.research.standard
- geo.measurement.standard
- geo.article.standard
- name: from
in: query
required: false
schema:
type: string
format: date-time
- name: to
in: query
required: false
schema:
type: string
format: date-time
- name: resource_key
in: query
required: false
schema:
type: string
description: GEO 任务编号
responses:
'200':
description: CSV账单;公式型单元格转为文本
content:
text/csv:
schema:
type: string
'400':
description: 错误代码见响应 error.code;不新增扣费
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: 错误代码见响应 error.code;不新增扣费
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: 错误代码见响应 error.code;不新增扣费
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: 错误代码见响应 error.code;不新增扣费
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: 错误代码见响应 error.code;不新增扣费
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'413':
description: 错误代码见响应 error.code;不新增扣费
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'415':
description: 错误代码见响应 error.code;不新增扣费
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: 错误代码见响应 error.code;不新增扣费
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: 错误代码见响应 error.code;不新增扣费
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- Account
operationId: getApiV1AccountTransactionsExport
x-operation-id-source: derived
components:
schemas:
Error:
type: object
required:
- error
properties:
error:
type: object
required:
- code
- message
- request_id
properties:
code:
type: string
message:
type: string
request_id:
type: string
details:
type: object
additionalProperties: true
Meta:
type: object
required:
- request_id
properties:
request_id:
type: string
next_cursor:
type:
- string
- 'null'
Balance:
type: object
required:
- data
- meta
properties:
data:
type: object
required:
- currency
- posted_cents
- reserved_cents
- available_cents
- total_charged_cents
- total_service_refunded_cents
- net_spent_cents
properties:
currency:
const: CNY
posted_cents:
type: integer
description: 人民币分,不使用浮点元
reserved_cents:
type: integer
description: 人民币分,不使用浮点元
available_cents:
type: integer
description: 人民币分,不使用浮点元
total_charged_cents:
type: integer
description: 人民币分,不使用浮点元
total_service_refunded_cents:
type: integer
description: 人民币分,不使用浮点元
net_spent_cents:
type: integer
description: 人民币分,不使用浮点元
cash_returned_cents:
type: integer
minimum: 0
meta:
$ref: '#/components/schemas/Meta'
Transactions:
type: object
required:
- data
- meta
properties:
data:
type: array
items:
type: object
required:
- id
- kind
- amount_cents
- created_at
properties:
id:
type: string
kind:
enum:
- credit
- charge
- refund
- cash_return
amount_cents:
type: integer
description: 人民币分,不使用浮点元
created_at:
type: string
sku:
type:
- string
- 'null'
resource_key:
type:
- string
- 'null'
unit_id:
type:
- string
- 'null'
meta:
$ref: '#/components/schemas/Meta'
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: 服务端保存的 ScopeAI API key