quotient-api
Accesses Quotient market intelligence through either x402 micropayments or API key auth, with explicit 402 challenge/settle handling when using x402.
- License 许可
- MIT
- 最近更新
- 2026-11-05
- Stars
- ★ 17
- Forks
- 2
01 前言 Front Matter
- name
- quotient-api
- description
- Accesses Quotient market intelligence through either x402 micropayments or API key auth, with explicit 402 challenge/settle handling when using x402.
02 资源文件 4
- 参考文档references/api-reference.md2.0 KB
- 参考文档references/bankr-preferred-flow.md1.9 KB
- 参考文档references/error-handling.md1.3 KB
- 参考文档references/vanilla-x402-flow.md5.1 KB
03 SKILL.md 正文
Quotient API Skill
Use this skill when an agent needs Quotient market intelligence and must execute x402 payment flows correctly.
Base URL
QUOTIENT_BASE_URL:https://q-api.quotient.social- Use this single origin for runtime requests and discovery docs (
/openapi.json,/api/public/pricing,/llms.txt,/skill/*).
Access Model
- Use x402 or API key for monetized requests.
- Prefer Bankr wallet tooling when available.
- Support vanilla SIWE/SIWX x402 clients as a first-class fallback.
- Include
x-quotient-api-keywhen available; runtime requests can be authorized via either x402 payment handling or API key auth. - If using Bankr signing (
/agent/sign), provide a Bankr API key viaX-API-Keywith Agent API access enabled and signing permissions (not read-only).
Getting a Quotient API Key
- Sign up (or log in) at
https://dev.quotient.social. - Account creation supports:
- email login
- Google login
- New accounts include free credits, so users can try the API before paying.
- After signup/login, create or copy a Quotient API key from the Quotient account settings/developer area.
- Pass the key to the agent via config/secrets as
x-quotient-api-key(or equivalent env/secret wiring used by your client).
Operator vs Agent Signup Path
- Preferred: human operator completes signup/login and key creation, then injects the API key into agent config.
- Optional self-serve agent path: if your runtime supports browser automation plus secure secret storage, the agent can perform signup/login at
https://dev.quotient.social, generate a key, and store it for later requests. - If interactive auth (email verification, Google OAuth, CAPTCHA, 2FA, policy prompts) cannot be completed programmatically, fall back to the human-operator path.
x402 API Call Checklist
- Send request to Quotient gateway without payment headers.
- If response is
402, parsePAYMENT-REQUIRED. - Sign payment and retry with
PAYMENT-SIGNATURE. - On success, parse
PAYMENT-RESPONSE. - Apply retry/backoff rules for
429and transient5xx.
Required Preflight (Deterministic)
Before the first API call in a session, fetch these discovery endpoints:
/openapi.json/api/public/pricing- Treat OpenAPI as canonical route and invocation metadata.
- Treat pricing endpoint as supplemental billing/network metadata (assets, chains, credit mapping), and treat runtime
402challenge data as authoritative. - Cache pricing metadata and refresh periodically (for example, every 15-60 minutes) or immediately when runtime
402details differ from cache.
Canonical Endpoints and Discovery
- OpenAPI:
/openapi.json - Pricing discovery endpoint:
GET /api/public/pricing - AI index:
/llms.txt
Core Endpoints
GET /api/v1/markets- covered markets with forecast statusGET /api/v1/markets/mispriced- markets where Q diverges from market oddsGET /api/v1/markets/lookup- batch lookup by slugs or condition IDsGET /api/v1/markets/{slug}/intelligence- full intelligence on a single marketGET /api/v1/markets/{slug}/signals- paginated analyst signals for a market
References
- API reference:
/skill/references/api-reference.md - Bankr-preferred x402 flow:
/skill/references/bankr-preferred-flow.md - Vanilla x402 flow:
/skill/references/vanilla-x402-flow.md - Error handling:
/skill/references/error-handling.md
04 同仓库更多 Skills
provisioning-v1
暂无简介
get-api-docs
Use this skill when you need documentation for a third-party library, SDK, or API before writing code that uses it — for example, "use the OpenAI API", "call the Stripe API", "use the Anthropic SDK", "query Pinecone", or any time the user asks you to write code against an external service and you need current API reference. Fetch the docs with chub before answering, rather than relying on training knowledge.
zyfai
Earn yield on any Ethereum wallet on Base, Arbitrum, and Plasma. Use when a user wants passive DeFi yield on their funds. Deploys a non-custodial deterministic subaccount (Safe) linked to their EOA, enables automated yield optimization, and lets them deposit/withdraw anytime.
zerion
Interpreted crypto wallet data for AI agents. Use when an agent needs portfolio values, token positions, DeFi positions, NFT holdings, transaction history, PnL data, token prices, charts, gas prices, swap quotes, or DApp information across 41+ chains. Zerion transforms raw blockchain data into agent-ready JSON with USD values, protocol labels, and enriched metadata. Supports x402 pay-per-request ($0.01 USDC on Base) and API key access. Triggers on mentions of portfolio, wallet analysis, positions, transactions, PnL, profit/loss, DeFi, token balances, NFTs, swap quotes, gas prices, or Zerion.
zapper
Placeholder for Zapper skill.
yoink
Play Yoink, an onchain capture-the-flag game on Base. Yoink the flag from the current holder, check game stats and leaderboards, view player scores, and compete for the trophy. Uses Bankr for transaction execution.