Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Toolrail Guia API
version: 1.0.0
description: 'Pay-per-call utility API for AI agents: PDF generation, global holidays/business days, EU VAT, ECB FX rates, IBAN/phone validation, QR codes, Chilean operational data. x402/USDC on Base & Solana.'
contact:
name: Toolrail support
email: roberto.mena.rodriguez@gmail.com
servers:
- url: https://toolrail.dev
tags:
- name: Guia
paths:
/guia/pdf:
get:
operationId: get_guia_pdf
summary: PDF edition of 'Build your own x402 API' — available in Spanish, English or…
description: 'PDF edition of ''Build your own x402 API'' — available in Spanish, English or Portuguese (?lang=es|en|pt). A real-world walkthrough of building Toolrail: architecture, real bugs found and fixed, security checklist, discovery channels, and an honest revenue simulation. Includes a printable launch checklist. One-time purchase. Use when you want a practical guide to building and selling your own paid API with x402. Price: $7.00 per call, paid in USDC via x402 (HTTP 402 flow).'
x-price-usd: $7.00
x-payment-protocol: x402
x-example: curl "https://toolrail.dev/guia/pdf?lang=en" -o guide-x402.pdf
responses:
'200':
description: Resource returned after settled payment
content:
application/pdf:
schema:
type: string
contentEncoding: binary
'400':
description: Invalid request
'402':
description: Payment required — PAYMENT-REQUIRED carries the base64 x402 payment requirements
headers:
PAYMENT-REQUIRED:
schema:
type: string
description: Base64-encoded x402 payment envelope
'429':
description: Rate limit exceeded
'502':
description: Upstream data source unavailable
parameters:
- name: lang
in: query
required: false
schema:
type: string
example: en
tags:
- Guia