← Back to marketplace

BlockRun - YOPO: You Only Pay for the Outcome

external

YOPO - You Only Pay for the Outcome. 55+ LLMs, live data APIs, image + video generation, and secure code runtime. One install for OpenClaw, Claude Code, or Franklin. Pay per call in USDC via x402 - no API keys.

by Blockrun50 endpoints100% uptime391ms avg

Price

from $0.0010

up to $5.00 per request

Network

base

Category

ai

On-chain txns

436,831

Uptime

100%

Avg latency

391ms

Checks

91

Status

Healthy

Base URL

https://blockrun.ai

Endpoints (50)

Discovered from on-chain x402 payment activity. Prices shown are per-call in USDC.

POST/api/v1/audio/generations
base$0.1050

AI music generation API - pay per track with USDC on Base

POST/api/v1/audio/sound-effects
base$0.0525

AI sound effect generation (ElevenLabs) — pay per call with USDC on Base

POST/api/v1/audio/speech
base$0.0525

AI text-to-speech (ElevenLabs) — pay per call with USDC on Base

POST/api/v1/chat/completions
base$0.0010

AI chat completions API - pay per request with USDC on Base

POST/api/v1/defillama/chains
base$0.0050

TVL by chain — every chain DefiLlama tracks with current TVL totals.

POST/api/v1/defillama/prices/%7Bcoins%7D
base$0.0010

Token price lookup. Pass coin identifiers as `/v1/defillama/prices/{coins}` (e.g. `coingecko:bitcoin`, `ethereum:0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2`). Supports comma-separated lists.

POST/api/v1/defillama/protocol/%7Bslug%7D
base$0.0050

Detailed TVL + breakdown for a single protocol. Pass slug as `/v1/defillama/protocol/{slug}` (e.g. `aave`, `uniswap`).

POST/api/v1/defillama/protocols
base$0.0050

List of every DeFi protocol DefiLlama tracks, with current and historical TVL across chains.

POST/api/v1/defillama/yields
base$0.0050

Every tracked yield pool across DeFi (lending, LPs, staking, vaults) with current APY/TVL.

POST/api/v1/exa/answer
base$0.0100

Get an AI-generated answer to a question grounded in live web search results.

POST/api/v1/exa/contents
base$0.0020

Extract full text content from specific URLs. Priced at $0.002/URL — total = urls.length × $0.002.

POST/api/v1/exa/find-similar
base$0.0100

Find pages semantically similar to a given URL.

POST/api/v1/exa/search
base$0.0100

Neural and keyword web search. Optional category filter: company, research paper, news, pdf, github, tweet, personal site, linkedin profile, financial report.

POST/api/v1/images/generations
base$0.0400

AI image generation API - pay per image with USDC on Base (hybrid sync/async)

POST/api/v1/images/image2image
base$0.0200

AI image editing API - edit images with USDC on Base

POST/api/v1/messages
base$0.0100

Anthropic-compatible Messages API — pay per token with USDC on Base

POST/api/v1/modal/sandbox/create
base$0.0100

Create a managed Python 3.11 sandbox. Two billing modes selected by 'timeout': ≤300s = flat rate (CPU $0.01, GPU varies). >300s = per-hour billing for the full requested lifetime, no refund on early terminate. Max 24h.

POST/api/v1/modal/sandbox/exec
base$0.0010

Execute a command inside a running sandbox. Returns stdout, stderr, and exit code.

POST/api/v1/modal/sandbox/status
base$0.0010

Check the status of a sandbox (running or terminated).

POST/api/v1/modal/sandbox/terminate
base$0.0010

Terminate a running sandbox and release its resources.

POST/api/v1/phone/lookup
base$0.0100

Look up carrier information and line type for a phone number.

POST/api/v1/phone/lookup/fraud
base$0.0500

Look up carrier info plus fraud signals (SIM swap detection, call forwarding) for a phone number.

POST/api/v1/phone/numbers/buy
base$5.00

Purchase a dedicated phone number valid for 30 days. The number is bound to your wallet address. Default country is US (no regulatory friction). Other countries can be requested via the `country` parameter, but Twilio may require a Regulatory Bundle (KYC) on our account before purchase succeeds — if your country fails, contact care@blockrun.ai to enable.

POST/api/v1/phone/numbers/list
base$0.0010

List all active phone numbers provisioned to your wallet.

POST/api/v1/phone/numbers/release
base

Release a provisioned phone number. The number will be returned to the Twilio pool.

POST/api/v1/phone/numbers/renew
base$5.00

Extend the lease on a provisioned phone number by 30 days.

POST/api/v1/pm/dflow/trades
base$0.0010

Fetch trade history for a wallet on dFlow

POST/api/v1/pm/kalshi/markets
base$0.0010

Query Kalshi markets with filtering, sorting, and pagination

POST/api/v1/pm/kalshi/orderbooks
base$0.0010

Fetch historical orderbook snapshots for a Kalshi market

POST/api/v1/pm/kalshi/trades
base$0.0010

Fetch historical Kalshi trade data

POST/api/v1/pm/limitless/markets
base$0.0010

List Limitless markets with filtering and sorting

POST/api/v1/pm/limitless/orderbooks
base$0.0010

Fetch historical orderbook snapshots for a Limitless market

POST/api/v1/pm/markets
base$0.0010

List canonical market/question containers with cross-venue Predexon IDs

POST/api/v1/pm/markets/listings
base$0.0010

List venue-native executable listings flattened across canonical markets

POST/api/v1/pm/markets/search
base$0.0050

Search markets across Polymarket, Kalshi, Limitless, Opinion, and Predict.Fun in a single call

POST/api/v1/pm/matching-markets
base$0.0050

Find equivalent markets across Polymarket and Kalshi

POST/api/v1/pm/matching-markets/pairs
base$0.0050

Get all active exact-matched market pairs

POST/api/v1/pm/opinion/markets
base$0.0010

List Opinion markets with filtering and sorting

POST/api/v1/pm/opinion/orderbooks
base$0.0010

Fetch historical orderbook snapshots for an Opinion market

POST/api/v1/pm/polymarket/activity
base$0.0010

Fetch trading activity (merges, splits, redeems) for a user

POST/api/v1/pm/polymarket/cohorts/stats
base$0.0010

Compare performance across trading style cohorts

POST/api/v1/pm/polymarket/crypto-updown
base$0.0010

List crypto up/down prediction markets

POST/api/v1/pm/polymarket/events
base$0.0010

List Polymarket events with filtering and sorting

POST/api/v1/pm/polymarket/events/keyset
base$0.0010

List Polymarket events with cursor-based keyset pagination

POST/api/v1/pm/polymarket/leaderboard
base$0.0010

Get the global leaderboard of smart wallets

POST/api/v1/pm/polymarket/markets
base$0.0010

Query Polymarket markets with filtering, sorting, and pagination

POST/api/v1/pm/polymarket/markets/keyset
base$0.0010

List Polymarket markets with cursor-based keyset pagination (same filters as /polymarket/markets)

POST/api/v1/pm/polymarket/markets/smart-activity
base$0.0050

Discover markets where high-performing wallets are active

POST/api/v1/pm/polymarket/orderbooks
base$0.0010

Get historical orderbook snapshots for a token

POST/api/v1/pm/polymarket/positions
base$0.0010

Fetch all user positions with filtering and pagination

Payment

Protocolx402 (direct payment, USDC)
Networkbase

How to call

Via APIHub (recommended)No wallet · pay with credits · gasless
# one-time setup
npx @apihubio/cli register
npx @apihubio/cli topup 10

# call it
npx @apihubio/cli call https://blockrun.ai \
  -X POST \
  -d '{ /* check provider docs for input */ }'

# or save it to Claude/Cursor/Codex
npx @apihubio/cli install
npx @apihubio/cli add https://blockrun.ai
APIHub pays the provider on your behalf and debits your credit balance for the exact amount. No wallet setup, no gas, no per-call signing.
Via direct x402 (advanced)Bring your own wallet
import { wrapFetchWithPayment } from "@x402/fetch";
import { createWalletClient, http } from "viem";
import { privateKeyToAccount } from "viem/accounts";
import { base } from "viem/chains";

const account = privateKeyToAccount("0xYOUR_PRIVATE_KEY");
const client = createWalletClient({ account, chain: base, transport: http() });
const x402Fetch = wrapFetchWithPayment(client);

const res = await x402Fetch("https://blockrun.ai", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ /* check provider docs for input */ }),
});
const data = await res.json();
Requires USDC on Base and gas on each call. The @x402/fetch client signs EIP-3009 transferWithAuthorization for each 402 response and retries.

This is an external service not operated by APIHub. Listing data is sourced from public on-chain records and third-party indexes. Payment goes directly to the service provider via the x402 protocol. APIHub does not guarantee availability, accuracy, or quality of external services.