Check an x402 endpoint before paying it
tolca.tonbot.ca/v1/payment-check
Check an x402 endpoint before paying it: is this x402 seller safe to pay? Send the seller's URL (or its 402). One call screens the payTo wallet against OFAC SDN crypto addresses, checks official USDC on its network (13 networks incl. Base, Solana, Polygon, Arbitrum) and compares price and payTo with the seller's Coinbase Bazaar listing. Returns allow / review / block, invoice hash and Ed25519-sign
POST
https://tolca.tonbot.ca/v1/payment-checkUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://tolca.tonbot.ca/v1/payment-check", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"requirements":{"amount":"10000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x1111111111111111111111111111111111111111","resource":"https://tolca.tonbot.ca/v1/sanctions-check","scheme":"exact"}}),
});
console.log(await res.json());Example input
{
"requirements": {
"amount": "10000",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"network": "eip155:8453",
"payTo": "0x1111111111111111111111111111111111111111",
"resource": "https://tolca.tonbot.ca/v1/sanctions-check",
"scheme": "exact"
}
}More from Tolca
- tolca.tonbot.ca/v1/company-enrichCompany profile from a domain or name in ONE call, for sales and research agents: what the company does, industry, services, service area, address, phones and emails published by the company (each with the page it came from), social links, plus official screening (registries, US, UK, EU and Canadian sanctions lists). Read live from the company's own website, no third-party database. No website fou0.02
- tolca.tonbot.ca/v1/company-fitIs this company worth contacting FOR YOU? Everything in company-enrich, plus a fit verdict for your offer and goal: good / maybe / poor, a 0-100 score, reasons grounded in facts from the company's website, and an opening line that references one of those facts. Input: domain or name, plus for: { seller (who you are and what you sell), goal (sales | partnership | supplier | hiring | investment | ot0.03
- tolca.tonbot.ca/v1/extractExtract structured data from messy text into clean JSON. Input: text, schema (JSON object describing desired fields).0.05
- tolca.tonbot.ca/v1/extract-urlFetch any public URL (HTML article, PDF, JSON) and return clean JSON matching YOUR schema in one call. No scraping code, no parsing: give a url and the fields you want. Input: url, schema (field -> type/description). Output: data + page title + source.0.03
- tolca.tonbot.ca/v1/pkg-checknpm dependency risk and PyPI package safety check: is this package safe to install? One call, one verdict: safe / caution / avoid, with a score, concrete reasons (known vulnerabilities from OSV, deprecation, abandonment, adoption, install scripts, typosquat signals) and a one-line recommendation. Input: name, ecosystem (npm | PyPI), optional version.0.003
- tolca.tonbot.ca/v1/qc-contractor-checkQuebec contractor check before hiring, paying or subcontracting a Québec (Canada) construction contractor, in one call: RBQ licence (status, categories, restrictions), RENA listing (banned from public contracts), environmental penalties and public contracts awarded on SEAO (count, total, buyers). Verdict ok / review / blocking with reasons, source dates and an Ed25519-signed receipt (verify at /re0.10
- tolca.tonbot.ca/v1/qc-licenceQuebec contractor licence check (RBQ): contractor license verification in one call, cheapest tier. Is this Québec contractor's RBQ licence ACTIVE right now? Returns active true/false, licence number, name, NEQ, city, restriction flag and authorized work categories. Use to vet many contractors fast; use qc-contractor-check for RENA and penalties. Input: name, NEQ or RBQ licence number.0.01
- tolca.tonbot.ca/v1/sanctions-checkSanctions screening of a company name (OFAC, US, UK, EU, Canada), cheapest tier: is this company sanctioned? One call checks the US Consolidated Screening List (incl. OFAC SDN), the UK Sanctions List, the EU consolidated financial sanctions list and Canada's autonomous sanctions list, refreshed daily. Returns allow / review / block, a 0-100 risk score, matches with official references and dates, a0.005
- tolca.tonbot.ca/v1/summarizeSummarize long text into a tight, faithful summary. Input: text (up to 40k chars), optional max_words and language.0.03
- tolca.tonbot.ca/v1/translateTranslate between French (incl. Quebec French) and English. Input: text, target ('fr' | 'en'), optional tone.0.04
- tolca.tonbot.ca/v1/verify-businessKYB company verification and business registry verification before paying, onboarding or contracting a company (vendor due diligence). One call checks US, UK, EU and Canadian sanctions (CSL incl. OFAC SDN), company registries (UK Companies House, Canada federal), legal entity status (GLEIF) and contractor licences (Quebec, Washington, Oregon). Returns allow / review / block, 0-100 risk score, date0.05
- tolca.tonbot.ca/v1/web-searchWeb search with page content: search the web and read the top pages in ONE call. Returns 10 results (title, url, snippet, date) plus the clean text of the best pages (read 1-5), with fetch time, sha256, publication and last-modified dates (each with its source) and canonical URL; a complete flag, and require_complete for all-or-nothing (not charged). French and Canada by default for French queries0.008
