← 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 Blockrun16 endpoints100% uptime251ms avg

Price

from $0.0010

up to $0.2625 per request

Network

base

Category

ai

On-chain txns

1,761

Uptime

100%

Avg latency

251ms

Checks

160

Status

Healthy

Base URL

https://blockrun.ai

Endpoints (16)

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

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

AI chat completions API - pay per request 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/images/generations
base$0.0400

AI image generation API - pay per image with USDC on Base

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

AI image generation API - pay per image with USDC on Base

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

Create a managed Python 3.11 sandbox with bounded CPU, memory, and lifetime limits.

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

Create a managed Python 3.11 sandbox with bounded CPU, memory, and lifetime limits.

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/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/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/modal/sandbox/terminate
base$0.0010

Terminate a running sandbox and release its resources.

POST/api/v1/search
base$0.2625

Grok Live Search API - real-time web and news search

POST/api/v1/search
base$0.2625

Grok Live Search API - real-time X/Twitter and web search

POST/api/v1/x/users/followers
base$0.0500

Twitter/X User Follower List via AttentionVC

POST/api/v1/x/users/lookup
base$0.2000

Twitter/X User Batch Lookup via AttentionVC

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.