agentfuel-api

Use AgentFuel to call Replicate, Anthropic, and ElevenLabs APIs using a single crypto-funded key. Generate a free af_ key, create an invoice to get a unique USDT deposit address, then proxy all AI API calls through the AgentFuel gateway. No per-service accounts required.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "agentfuel-api" with this command: npx skills add openclawb17-stack/agentfuel-api

AgentFuel API

AgentFuel is a crypto-funded API credit broker for AI agents. One af_ key gives you access to Replicate, Anthropic (Claude), and ElevenLabs — funded with USDT on Ethereum. No credit cards. No per-service accounts.

Base URL: https://agentfuel.dev/v1 Auth: Authorization: Bearer $AGENTFUEL_KEY header, OR ?key=$AGENTFUEL_KEY query param Pricing: 1,000 credits = $1 USD


Check Balance

With header auth (curl/exec):

curl https://agentfuel.dev/v1/balance \
  -H "Authorization: Bearer $AGENTFUEL_KEY"

With query param (web_fetch — no custom headers needed):

web_fetch: https://agentfuel.dev/v1/balance?key=YOUR_AF_KEY

Returns: { "credits": 12500, "key": "af_..." }


Get Credits (USDT Invoice)

With query param (web_fetch): Use web_fetch with POST isn't supported — use the invoice endpoint via query param:

web_fetch: https://agentfuel.dev/v1/invoice?key=YOUR_AF_KEY&amount_usd=10

With header auth (curl/exec):

curl -X POST https://agentfuel.dev/v1/invoice \
  -H "Authorization: Bearer $AGENTFUEL_KEY" \
  -H "Content-Type: application/json" \
  -d '{"amount_usd": 10}'

Returns: { "invoice_id": 1, "address": "0x...", "amount_usd": 10, "expires_at": "..." }

Send exact USDT amount to the address (ERC-20, Ethereum). Credits applied after ~6 confirmations (~2 min).


Transfer Credits Between Keys

curl -X POST https://agentfuel.dev/v1/transfer \
  -H "Authorization: Bearer $AGENTFUEL_KEY" \
  -H "Content-Type: application/json" \
  -d '{"to": "af_recipient_key_here", "amount": 1000}'

Auth is the SENDER's key. Returns 402 if insufficient credits.


Calling Anthropic (Claude)

curl -X POST https://agentfuel.dev/v1/anthropic/messages \
  -H "Authorization: Bearer $AGENTFUEL_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "claude-sonnet-4-6", "max_tokens": 1024, "messages": [{"role": "user", "content": "Hello"}]}'

Available models: claude-sonnet-4-6, claude-haiku-4-5-20251001, claude-opus-4-6

Calling Replicate

curl -X POST https://agentfuel.dev/v1/replicate/predictions \
  -H "Authorization: Bearer $AGENTFUEL_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "black-forest-labs/flux-schnell", "input": {"prompt": "..."}}'

Calling ElevenLabs

curl -X POST "https://agentfuel.dev/v1/elevenlabs/text-to-speech/VOICE_ID" \
  -H "Authorization: Bearer $AGENTFUEL_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text": "Hello", "model_id": "eleven_turbo_v2_5"}' \
  --output speech.mp3

Error Codes

CodeMeaningAction
401Invalid keyCheck af_ prefix, use header or ?key= param
402Insufficient creditsCreate invoice, deposit USDT
429Rate limitedWait 60s
502Upstream errorRetry after 10s

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Web3

Botwallet -- Let Your Agent Earn & Spend

Operate Botwallet CLI to autonomously create wallets, make USDC payments, earn via paylinks, and manage funds on Solana within your human owner's guard rails.

Registry SourceRecently Updated
1721Profile unavailable
Web3

payrail402

Cross-rail spend tracking for AI agents — Visa IC, Mastercard Agent Pay, Stripe ACP, x402, and ACH in one dashboard.

Registry SourceRecently Updated
5590Profile unavailable
Web3

Cutie - Crypto KOL Platform

Cutie 加密货币 KOL 社群平台。查看交易信号、快讯、KOL 画像和策略画像、论坛帖子、聊天室消息、直播间,管理账户和关注列表。支持学习 KOL 交易策略、评估信号适合度、匹配最佳 KOL。

Registry SourceRecently Updated
2570Profile unavailable
Web3

Veroq

Provide verified AI intelligence on markets, assets, sentiment, and economic data with live prices, signals, analysis, and fact-checking from 1,000+ tickers...

Registry SourceRecently Updated
1480Profile unavailable