PeumeAPI

Finance & crypto

On-Chain Table Schema

List the on-chain SQL tables and their columns — call this before writing a query for /onchain/query or /onchain/sql.

$0.036 per call

Call it

curl https://api.peume.com/v1/call/on-chain-table-schema \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "table": "your table"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: on-chain-table-schema.

Parameters

tablestring

Optional logical table name from the agent database. When set, the response adds bounded physical metadata: engine, partition key, sorting key, primary key, row estimate, and compressed bytes. Example: polymarket_trades.

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.