0juano/agent-skills/bondterminal-x402
Claude Code and agent skill by 0juano/agent-skills
- community
Checking that the SKILL.md file is still in the repository.
Query BondTerminal API using x402 keyless payments. No API key needed — pay $0.01 USDC per request on Base mainnet. Use when users ask for Argentine bond data, analytics, cashflows, history, riesgo país, or ISIN/ticker lookups (e.g. AL30, GD30, US040114HS26). Supports automatic 402 → payment → retry.
Install
npx vskill@latest install 0juano/agent-skills/bondterminal-x402SKILL.md
The same SKILL.md was published earlier as 0juano/agent-skills/bondterminal-x402.
BondTerminal x402
Query the BondTerminal API with x402 pay-per-call auth. No API key, no subscription — just sign and pay per request.
Cost: $0.01 USDC per request on Base mainnet.
API Endpoints
Base URL: https://bondterminal.com/api/v1
| Method | Endpoint | Description | Auth | |
|---|---|---|---|---|
| GET | /treasury-curve | US Treasury yield curve | Free | |
| GET | /bonds | List all bonds (60+) | x402 | |
| GET | /bonds/:id | Bond details by ISIN or local ticker | x402 | |
| GET | /bonds/:id/analytics | Price, YTM, duration, spreads | x402 | |
| GET | /bonds/:id/cashflows | Cashflow schedule | x402 | |
| GET | /bonds/:id/history | Historical price/yield/spread | x402 | |
| POST | /calculate | Bond analytics from custom price | x402 | |
| GET | /riesgo-pais | Current Argentina country risk | x402 | |
| GET | /riesgo-pais/history | Historical riesgo país series | x402 | |
| POST | /calculate/batch | Batch calculations | Bearer only |
Identifier formats: ISIN (US040114HS26), local ticker with D/C suffix (AL30D, GD30D).
Full docs: https://bondterminal.com/developers Endpoint reference in this skill: references/endpoints.md
How x402 Works
- Call any x402 endpoint without auth → server returns
402withPAYMENT-REQUIREDheader - Decode the header (base64 JSON) to get payment requirements (amount, asset, network, payTo)
- Sign an EIP-3009
transferWithAuthorizationvia the x402 client library - Retry the request with the signed payment in the
PAYMENT-SIGNATUREheader (v2), withX-PAYMENTas legacy fallback - Server verifies payment via Coinbase facilitator, returns data +
PAYMENT-RESPONSEheader
Setup
1. Install dependencies
Note: The code examples use ES modules. Use.mjsfile extension or add"type": "module"to yourpackage.json.
2. Configure a signer
The x402 payment flow requires an EVM signer on Base mainnet with USDC balance. Configure your signer following the x402 EVM documentation.
The signer must implement { address, signTypedData } — any viem-compatible wallet client works (hardware wallet, KMS, injected provider, etc).
See references/signer-setup.md for a complete signer configuration example.
3. Register the x402 client
Fetching Bond Data
Quick Test
Validate both free and paid flows:
Wallet Requirements
The signing wallet needs:
- USDC on Base — for the $0.01 payment per request
No ETH for gas is required — x402 uses EIP-3009 (off-chain signature), not on-chain transactions.
Notes
POST /calculate/batchrequires a Bearer API key subscription — not available via x402- Local tickers require D/C suffix:
AL30D(USD),AL30C(ARS) — notAL30 - Settlement is on-chain: each paid call produces a verifiable transaction hash
- The
PAYMENT-RESPONSEheader contains settlement metadata (payer, tx hash, network)
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingbondterminal-x402/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/0juano/agent-skills/bondterminal-x402)