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 Alertas 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: Alertas
paths:
/alertas:
post:
operationId: post_alertas
summary: 'Create a change alert: an HMAC-SHA256-signed webhook to your HTTPS URL whenever…'
description: 'Create a change alert: an HMAC-SHA256-signed webhook to your HTTPS URL whenever an official series publishes a new value (UF, UTM, dollar, euro, policy rate and CPI for Chile; ICL, UVA, CER and CPI for Argentina). One payment covers every delivery for 365 days, with documented retries (1, 5, 30, 120 and 360 minutes) and a stable event id for de-duplication. Use when an agent or app must react to a new official value without polling. Price: $0.05 per call, paid in USDC via x402 (HTTP 402 flow).'
x-price-usd: $0.05
x-payment-protocol: x402
x-example: 'curl -X POST "https://toolrail.dev/alertas" -H "Content-Type: application/json" -d ''{"url":"https://example.com/hooks/toolrail","series":["tpm","icl"]}'''
responses:
'200':
description: Resource returned after settled payment
content:
application/json:
schema:
type: object
'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
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
url:
type: string
series:
type: array
items:
type: string
example:
url: https://example.com/hooks/toolrail
series:
- tpm
- icl
tags:
- Alertas