← Back to marketplace

Cloudflare API

external

Pay-per-request access to Replicate AI and Cloudflare Browser Rendering. No API keys, no subscriptions.

by Stableflare14 endpoints100% uptime132ms avg

Price

from $0.0100

up to $1.00 per request

Network

base

Category

ai

On-chain txns

3

Uptime

100%

Avg latency

132ms

Checks

135

Status

Healthy

Base URL

http://stableflare.dev

Endpoints (14)

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

POST/api/browser/content
base$0.0200

Fetch the fully rendered HTML of any URL after JavaScript execution.

POST/api/browser/crawl
base$0.1000

Start an async crawl job. Returns a JWT token to poll /api/browser/crawl/poll for results. Supports up to 25 pages, markdown/html/json output.

POST/api/browser/json
base$0.0500

Extract structured data from any URL using AI. Provide a natural language prompt or JSON schema to define the output shape.

POST/api/browser/links
base$0.0200

Extract all links from any URL. Optionally filter to visible-only or same-domain links.

POST/api/browser/markdown
base$0.0200

Extract clean Markdown from any URL. Renders JavaScript before extraction.

POST/api/browser/pdf
base$0.0500

Render any URL or HTML as a PDF. Supports custom paper size, margins, landscape, and background printing.

POST/api/browser/scrape
base$0.0200

Scrape specific HTML elements from any URL by CSS selector. Returns text, HTML, attributes, and element dimensions.

POST/api/browser/screenshot
base$0.0500

Capture a screenshot of any URL or HTML. Returns a PNG or JPEG image. Supports full-page, element selection, custom viewport.

POST/api/images/transform
base$0.0100

Generate a Cloudflare Images delivery URL with on-the-fly transforms. Supports resize, crop, format conversion, blur, sharpen, rotate, and more. The image must have been uploaded via /api/images/upload first.

POST/api/images/upload
base$0.0100

Upload an image by URL to Cloudflare Images. Returns image ID and delivery URLs. Use the ID with /api/images/transform to generate variant URLs.

POST/api/replicate/predictions/create-audio
base$1.00

Run an official audio model on Replicate (text-to-speech, music generation, voice cloning, etc.). $1.00 per request. Input schemas vary per model — call /api/replicate/models/get first and validate against latest_version.openapi_schema. Hidden constraints like 'audio ≤15s' live in parameter description fields. Failed predictions are NOT refunded.

POST/api/replicate/predictions/create-image
base$0.1000

Run an official image model on Replicate (generation, editing, upscaling, etc.). $0.10 per request.

POST/api/replicate/predictions/create-text
base$0.0500

Run an official language model on Replicate (LLMs, speech-to-text, embeddings, etc.). $0.05 per request.

POST/api/replicate/predictions/create-video
base$1.00

Run an official video model on Replicate (generation, editing, animation, lipsync, image-to-video). $1.00 per request. For audio/music/TTS use /api/replicate/predictions/create-audio instead. Input schemas vary per model — call /api/replicate/models/get first and validate against latest_version.openapi_schema. Failed predictions are NOT refunded.

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 http://stableflare.dev \
  -X POST \
  -d '{ /* check provider docs for input */ }'

# or save it to Claude/Cursor/Codex
npx @apihubio/cli install
npx @apihubio/cli add http://stableflare.dev
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("http://stableflare.dev", {
  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.