Work with this as data
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/shumi-ai:shumi-ai-ask-api"
All apis
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.
Get an API 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 Specification
openapi: 3.2.0
info:
title: Shumi Ask API
description: 'Market data, verdicts and plain-word answers for crypto and real-world assets. Data routes return a versioned envelope that holds either `data` or `error`.
The `shumi` CLI and the `@shumi-ai/mcp` MCP server call the same routes.'
version: 1.0.0
servers:
- url: https://api.shumi.ai
description: Production
security:
- bearerAuth: []
tags:
- name: Ask
description: Questions in plain words, answered by Shumi.
paths:
/api/cli:
post:
operationId: ask
summary: Ask a natural-language question
description: 'Answers a question in plain words. Shumi picks the data the question needs, fetches it and writes the answer. Paid per call, it costs 0.05 USDC. Without a key, you can usually try one question from these docs.
The answer comes back as one JSON object with `text` and `steps`. This route does not use the standard envelope: its errors are a bare `{ "error": "..." }` object.'
tags:
- Ask
security:
- bearerAuth: []
- {}
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- messages
properties:
messages:
type: array
description: Conversation history. The last message must have role `user`.
items:
type: object
required:
- role
- content
properties:
role:
type: string
enum:
- user
- assistant
content:
type: string
raw:
type: boolean
default: false
description: Return only `steps`, the data Shumi fetched, without a written answer.
examples:
simple:
summary: One-shot question
value:
messages:
- role: user
content: Is BTC funding crowded right now?
responses:
'200':
description: The answer.
content:
application/json:
schema:
type: object
properties:
text:
type: string
description: The written answer. Absent when `raw` is true.
steps:
type: array
description: The data Shumi fetched to answer.
items: {}
'400':
$ref: '#/components/responses/PlainError'
'402':
$ref: '#/components/responses/PaymentRequired'
'401':
$ref: '#/components/responses/PlainError'
'403':
$ref: '#/components/responses/PlainError'
'429':
$ref: '#/components/responses/PlainError'
'500':
$ref: '#/components/responses/PlainError'
'502':
$ref: '#/components/responses/PlainError'
'503':
$ref: '#/components/responses/PlainError'
components:
responses:
PlainError:
description: Error. This route returns a bare { error } object.
content:
application/json:
schema:
type: object
properties:
error:
type: string
PaymentRequired:
description: 'Your free questions are used up. The body is an x402 challenge: pay for this one call in USDC on Base and resend it with the `X-PAYMENT` header. A data call costs 0.005 USDC; a plain-word question, `pairs` or `walkforward` 0.05 USDC.'
content:
application/json:
schema:
type: object
properties:
x402Version:
type: integer
accepts:
type: array
items:
type: object
properties:
scheme:
type: string
network:
type: string
maxAmountRequired:
type: string
description: 'Price in USDC''s smallest unit (6 decimals): `5000` is 0.005 USDC.'
resource:
type: string
payTo:
type: string
asset:
type: string
description: USDC contract on Base.
maxTimeoutSeconds:
type: integer
extra:
type: object
example:
x402Version: 1
accepts:
- scheme: exact
network: base
maxAmountRequired: '5000'
resource: https://api.shumi.ai/api/cli/coin/risk/DOGE
payTo: 0x...
asset: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
maxTimeoutSeconds: 60
extra:
name: USD Coin
version: '2'
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: An API key (`shumi_sk_…`) or a session JWT. Create a key with `shumi login` and `shumi keys create`.