Bankr Dev - API Basics
This skill should be used when the user asks about "Bankr API", "Bankr Agent API", "how does Bankr work", "Bankr job status", "Bankr response format", or "building on Bankr". Provides endpoint documentation, job patterns, and TypeScript interfaces.
npx skills add majiayu000/claude-skill-registry --skill bankr-api-basics --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Bankr Agent API Essentials When answering questions about the Bankr API: 1. Explain the asynchronous job pattern (submit-poll-complete) 2. Reference the endpoint documentation and TypeScript examples below 3. For detailed response structures, consult `references/job-response-schema.md` 4. Point developers to working examples in `examples/` directory --- The Bankr Agent API enables programmatic access to crypto trading, market analysis, and prediction markets through a simple asynchronous job pattern. ## Core Concept: Asynchronous Job Pattern All Bankr operations follow a submit-poll-complete pattern: 1. **Submit** a natural language prompt to start a job 2. **Poll** the job status every 2 seconds 3. **Receive** results when status is terminal (completed/failed/cancelled) This pattern handles operations that may take 30 seconds to 2+ minutes (trades, complex analysis). ## API Endpoints ### Base URL ``` https://api.bankr.bot ``` ### Authentication All requests require the `x-api-key` header: ``` x-api-key: bk_your_api_key_here ``` The API key is tied to a specific user's Bankr account and wallet. ### Endpoint 1: Submit Prompt ``` POST /agent/prompt Content-Type: application/json {
- Core Concept: Asynchronous Job Pattern
- API Endpoints
- Base URL
- Authentication
- Endpoint 1: Submit Prompt
- Endpoint 2: Get Job Status
- Endpoint 3: Cancel Job
- Job Status States
- What You Can Do
- Polling Best Practices
- Key Response Fields
- Error Handling
- Example: Complete Flow
- Additional Resources
What does the Bankr Dev - API Basics skill do?
This skill should be used when the user asks about "Bankr API", "Bankr Agent API", "how does Bankr work", "Bankr job status", "Bankr response format", or "building on Bankr". Provides endpoint documentation, job patterns, and TypeScript interfaces.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill bankr-api-basics --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
