TolcaAppeler l'API

Sachez qui votre agent paie. Avant qu'il paie.

Tolca vérifie une demande de paiement x402 avant que votre agent la signe : le portefeuille, le jeton, le réseau, le prix et l'entreprise derrière. Un seul appel donne un verdict clair et un reçu signé.

Aucun compte ni clé d'API. 0,01 $ en USDC sur Base ou Solana par vérification.

Un vendeur honnête

Six façons dont un paiement d'agent tourne mal

Une demande de paiement 402, c'est quelques lignes de JSON, et n'importe qui peut en écrire une. Voici ce que Tolca regarde avant que votre agent paie.

Ce qui tourne malCe que Tolca vérifieVerdict
Portefeuille sanctionnéL'adresse de paiement est comparée aux adresses crypto de la liste SDN du Trésor américain, mise à jour chaque jour.block
Faux jetonLe jeton doit être le contrat USDC officiel sur Base, pas une copie qui porte le même nom.block
Prix gonfléLe montant est comparé au prix que le même service affiche dans le catalogue x402 Bazaar.block
Adresse remplacéeL'adresse de paiement est comparée au portefeuille que le catalogue indique pour ce service.review
Mauvais réseauUn réseau de test ou une chaîne inattendue est signalé avant que l'argent bouge.review
Entreprise sanctionnéeSi vous fournissez le nom du vendeur, il est vérifié contre les listes de sanctions des États-Unis, du Royaume-Uni, de l'UE et du Canada.block

Un appel entre le 402 et le paiement

  1. Votre agent reçoit un 402

    Il demande une ressource payante et reçoit une demande de paiement avec un prix et un portefeuille.

  2. Il consulte Tolca d'abord

    Avant de signer quoi que ce soit, il envoie cette demande de paiement à payment-check.

  3. Tolca la vérifie

    Portefeuille, jeton, réseau et prix contre les listes officielles et le catalogue x402. Le vendeur aussi, si vous le nommez.

  4. Votre agent décide

    Allow, review ou block, avec une empreinte de facture valide 10 minutes et un reçu signé.

Ajoutez-le à votre agent en quelques lignes

Chaque service Tolca est une adresse HTTP payée à l'appel avec x402. Envoyez le 402 du vendeur, payez 0,01 $, lisez le verdict.

import { x402Client, wrapFetchWithPayment } from "@x402/fetch";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const client = new x402Client();
client.register("eip155:8453", new ExactEvmScheme(account));
const payFetch = wrapFetchWithPayment(fetch, client);

// sellerInvoice : le 402 que votre agent vient de recevoir
const url = "https://tolca.tonbot.ca/v1/payment-check";
const res = await payFetch(url, {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({ payment_required: sellerInvoice }),
});
const check = await res.json();
if (check.action !== "allow") {
  throw new Error(check.reasons.join(" "));
}
Réponse pour un portefeuille sur la liste SDN
{
  "action": "block",
  "risk_score": 95,
  "reasons": [
    "payTo address is on an official sanctions
     list (Specially Designated Nationals (SDN)
     - Treasury Department, program DPRK3).
     Do not pay."
  ],
  "invoice_sha256": "a7d580822f2a2711…",
  "valid_until": "2026-11-04T04:05:33Z",
  "nonce": "…",
  "receipt": { … }
}
Voir les 15 services et leurs prix
ServicePrixCe qu'il fait
POST /v1/summarize0,03 $Summarize long text into a tight, faithful summary. Input: text (up to 40k chars), optional max_words and language.
POST /v1/translate0,04 $Translate between French (incl. Quebec French) and English. Input: text, target ('fr' | 'en'), optional tone.
POST /v1/extract0,02 $Extract structured data from messy text into clean JSON. Input: text, schema (JSON object describing desired fields).
POST /v1/extract-url0,03 $Fetch 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.
POST /v1/pkg-check0,003 $npm 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.
POST /v1/qc-contractor-check0,10 $Quebec 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 /receipts/verify). Input: name, NEQ or RBQ licence number.
POST /v1/pkg-meta0,002 $Package metadata in one call, cheapest tier: latest and resolved version, license, first/last publish dates, weekly downloads, deprecation flag, install scripts, maintainers count. npm or PyPI. No vulnerability scan (see pkg-check for the full safe/caution/avoid verdict). Input: name, ecosystem (npm | PyPI), optional version.
POST /v1/qc-licence0,01 $Quebec 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.
POST /v1/homework-check0,25 $Can this homework be done by an AI? For teachers and schools: paste an assignment (or a public PDF URL) and get an overall AI-completion risk 0-100, a per-question breakdown (risk, why, concrete fix to make it AI-resistant) and general tips. No student data. Input: text or url, optional grade, subject, lang fr|en. / Ce devoir peut-il être fait par une IA? Score par question et corrections concrètes pour l'enseignant.
POST /v1/verify-business0,05 $KYB 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, dated sources and an Ed25519-signed receipt. Input: name, optional country, region.
POST /v1/web-search0,008 $Web 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 queries; official-sources mode (governments, registries, courts, laws); freshness filter; site: restriction. No results = HTTP 404 = not charged. Input: query, optional read, official, lang, country, freshness, site.
POST /v1/company-enrich0,02 $Company 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 found = HTTP 404 = no charge. Input: domain or name, optional city, country, lang (en|fr). Businesses only.
POST /v1/company-fit0,03 $Is 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 | other), optional ideal_customer }. No website found = no charge.
POST /v1/sanctions-check0,005 $Sanctions 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, and an Ed25519-signed receipt. Companies only. Input: name, optional country.
POST /v1/payment-check0,01 $Check an x402 endpoint before paying it: is this x402 seller safe to pay? Send the seller's URL (or its 402). Returns allow / review / block with reasons: payTo wallet vs OFAC SDN sanctions, Circle's USDC freeze and a scam address list; seller domain vs a crypto phishing list; official USDC (13 networks incl. Base, Solana, Polygon, Arbitrum); price and payTo vs the seller's Coinbase Bazaar listing. Free preview, verdict only: GET /v1/payment-check/preview?url= Also: wallets on record for that resource, risk score, invoice hash, Ed25519-signed receipt. Input: url or payment_required, optional network, seller_name, first_payment_check, live_seller_check, exposure.

Référence complète : llms.txt, OpenAPI, /.well-known/x402.

Gardez le reçu. Il prouve que vous avez vérifié.

Chaque réponse vient avec un reçu signé Ed25519 : ce qui a été vérifié, le verdict, les sources et l'heure. Si un paiement est contesté, n'importe qui peut le vérifier avec la clé publique de Tolca.

D'autres vérifications, toujours à l'appel

verify-businessUne entreprise avant de la payer : sanctions, registres d'entreprises (Royaume-Uni, Canada, GLEIF) et licences d'entrepreneur. Allow, review ou block.0,05 $
sanctions-checkUn nom contre les listes de sanctions des États-Unis, du Royaume-Uni, de l'UE et du Canada.0,005 $
qc-contractor-checkUn entrepreneur québécois : licence RBQ, RENA, pénalités environnementales et contrats publics SEAO. 54 000 licences actives couvertes.0,10 $
qc-licenceCette entreprise québécoise détient-elle une licence RBQ active?0,01 $
pkg-checkCe paquet npm ou PyPI est-il sûr à installer?0,003 $

Voir les 15 services et leurs prix

Pour les agents et pour les gens

Vous construisez un agent

Aucun compte ni clé d'API. Faites un POST, recevez un 402 avec le prix, payez en USDC sur Base ou Solana, recevez du JSON.

Aussi en MCP à https://tolca.tonbot.ca/mcp, et comme skill d'agent : npx skills add yayabough/tolca

Vous utilisez Claude ou ChatGPT

Ajoutez le connecteur gratuit https://tolca.tonbot.ca/mcp/public pour vérifier des entrepreneurs québécois et des fiches d'entreprise, avec un quota quotidien gratuit.

Claude (web ou app): Personnalisation › Connecteurs › Ajouter un connecteur personnalisé, collez l'adresse, choisissez « Sans connexion ».

Cursor, VS Code, ChatGPT (mode développeur): ajoutez un serveur MCP distant de type HTTP avec l'adresse ci-dessus.

Vérifier une entreprise gratuitement   Vérifier un entrepreneur québécois

Où trouver Tolca

Les registres d'entreprises européens (TVA, VIES, GLEIF) viennent de notre partenaire AsterPay, aussi en x402.