cd /news/ai-agents/xiaoke-api-gateway-pdf-ocr-scrape-tr… · home topics ai-agents article
[ARTICLE · art-41810] src=github.com ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

XiaoKe API Gateway: PDF OCR Scrape Translate Review SummarizeXiaoKe API Gateway

XiaoKe API Gateway launched a suite of 7 micro-APIs for AI agents, enabling autonomous discovery, payment, and execution of tasks like PDF extraction, web scraping, OCR, code review, translation, summarization, and Markdown-to-HTML conversion. The APIs use x402/USDC payments with zero authentication or KYC, allowing AI agents to operate without human intervention.

read1 min views1 publishedJun 27, 2026
XiaoKe API Gateway: PDF OCR Scrape Translate Review SummarizeXiaoKe API Gateway
Image: source

7 micro-APIs for AI agents. Pay via x402/USDC. Zero auth. Zero KYC.

AI agents discover, pay, and call autonomously — no human in the loop.

Endpoint Price Description
POST /pdf
$0.01 PDF → structured JSON with table extraction
POST /scrape
$0.02 Any URL → clean Markdown
POST /ocr
$0.015 Image → text (Apple Vision OCR)
POST /review
$0.03 Code review → security & quality report
POST /translate
$0.01 Translate between 20+ languages
POST /summarize
$0.01 Long text → key sentences (extractive)
POST /md2html
$0.005 Markdown → styled HTML (GitHub/Dark/Minimal)
AI Agent → POST /scrape → 402 Payment Required
AI Agent → Pays USDC on Base → Retries with X-x402-Payment header
AI Agent → Gets result ✅

Framework: FastAPI (Python)** PDF**: pdfplumber** Scraping**: requests + BeautifulSoup4** OCR**: Apple Vision (macOS) / PIL fallback** Payments**: x402 protocol (USDC on Base)** Deploy**: Railway / Render / any Docker host

pip install -r requirements.txt
uvicorn main:app --host 0.0.0.0 --port 8765

Then visit http://localhost:8765/docs

for interactive Swagger docs.

https://xiaoke-pdf-api.loca.lt

— Try GET /pricing

or see x402 in action with POST /scrape

MIT — build your own, list on AgenticTrade, keep 100% revenue.

── more in #ai-agents 4 stories · sorted by recency
── more on @xiaoke api gateway 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/xiaoke-api-gateway-p…] indexed:0 read:1min 2026-06-27 ·