⚡ Pylon

February 18, 2026 · View on GitHub

⚡ Pylon

Pay-per-request APIs for AI agents. No API keys. No subscriptions.

License: MIT Built on Base x402 Website

Utility APIs that AI agents can call and pay for instantly with USDC micropayments via x402.
No sign-up. No billing dashboard. Just HTTP.

Website · MCP Server · Smithery · Twitter


How It Works

1. Your agent calls a Pylon API endpoint
2. Gets back HTTP 402 with payment details
3. Pays \$0.01-0.05 USDC on Base, retries → gets the response

x402-compatible clients handle this automatically. One round-trip.

Live APIs (20+)

APIWhat it doesPrice
ScreenshotFull-page screenshot of any URL$0.01
Web ScrapeExtract clean text/markdown from URLs$0.01
Web ExtractStructured data extraction from web pages$0.01
SearchWeb search results$0.01
PDF ParseExtract text + metadata from PDFs$0.02
OCRImage → text via Tesseract$0.03
TranslateTranslate text between languages$0.005
Email ValidateMX + SMTP verification$0.005
Domain IntelWHOIS, DNS, SSL, tech stack$0.01
DNS LookupDNS record queries$0.005
IP GeolocationIP → location, ISP, timezone$0.005
QR CodeGenerate QR code images$0.005
Image ResizeResize, crop, format convert$0.01
Markdown → PDFRender markdown as styled PDF$0.02
HTML → PDFFull Chromium HTML rendering$0.02
Doc GenGenerate documents from templates$0.02
Data FormatterConvert between JSON, CSV, XML, YAML$0.005
URL ShortenerCreate short URLs$0.005
File StorageTemporary file hosting$0.005
Email SendTransactional email delivery$0.01

All APIs run on Fly.io with scale-to-zero. No third-party API dependencies.

Quick Start

# Take a screenshot (will return 402 — use an x402 client for auto-payment)
curl -X POST https://pylon-screenshot-api.fly.dev/screenshot \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com", "width": 1280, "height": 720}'

With an x402-compatible client:

import { wrapFetch } from "@x402/fetch";

const fetch402 = wrapFetch(fetch, wallet);

const response = await fetch402("https://pylon-screenshot-api.fly.dev/screenshot", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ url: "https://example.com" }),
});

// Screenshot PNG returned directly

MCP Server

Use all Pylon APIs from Claude, Cursor, or any MCP-compatible tool:

npx @pylonapi/mcp

Or install globally: npm i -g @pylonapi/mcp

See the MCP server on npm or browse it on Smithery.

Orchestration — /do/chain

Chain multiple Pylon APIs in a single request. The orchestration endpoint lets agents describe a pipeline of API calls where outputs flow into inputs:

POST https://pylonapi.com/do/chain
Content-Type: application/json

{
  "steps": [
    { "api": "web-scrape", "params": { "url": "https://example.com" } },
    { "api": "md-to-pdf", "params": { "markdown": "{{steps.0.output}}" } }
  ]
}

Each step runs sequentially. Reference previous outputs with {{steps.N.output}}. Payment covers all steps in the chain. One request, one payment, multiple operations.

Why No API Keys?

API keys are a bottleneck for autonomous agents. An agent can't sign up for accounts, enter credit cards, or manage billing dashboards. x402 lets payment be authentication — if you can pay, you can use the API. No human in the loop.

Self-Hosting

Every API is a standalone Express server. Clone this repo and deploy your own:

cd apis/screenshot
npm install
npm start

Remove the x402 middleware if you don't need payments. MIT licensed.

Stack

  • Runtime: Node.js + Express
  • Payments: x402 — HTTP 402 micropayments
  • Settlement: USDC on Base
  • Hosting: Fly.io (scale-to-zero)
  • No external API deps: Puppeteer, Sharp, Tesseract, pdf-parse — all self-hosted

Adding Your Own API

Want to add an API to Pylon? See PROVIDERS.md for the full onboarding guide and check out the provider-template/ for a starter repo.

License

MIT