x402 · USDC · MCP

Da a tus agentes de IA respuestas del mundo real, por fracciones de céntimo

Controles de riesgo, datos de empresas, acceso web y más. Una llamada HTTP, un micropago en USDC. Sin registro, sin clave de API, sin factura mensual.

14
servicios
21
herramientas
7
categorías
$0.002
desde / llamada

En marcha en tres pasos

  1. 1 · Encuentra la herramienta

    Busca aquí, pregunta al servidor MCP público con palabras normales o lee el documento OpenAPI. Tu agente puede hacerlo solo.

  2. 2 · Autoriza el precio

    La primera llamada responde HTTP 402 con el precio exacto. Tu wallet firma una autorización USDC en Base. Aún no se mueven fondos.

  3. 3 · Recibe la respuesta

    Reintenta con la firma: el servicio se ejecuta y solo pagas si tiene éxito. Llamada fallida, coste cero.

Prueba una llamada real ahora mismo

Elige un servicio, pulsa el botón y mira la respuesta real. Incluye llamadas gratis.

HTTPcURLNode.jsPython

Lo que envía tu agente

{
  "url": "https://example.org"
}
🎁 3 de 3 llamadas gratis restantes hoy

curl solo se detiene en el desafío 402: añade un cliente x402 (pestañas Node.js o Python) para pagar automáticamente.

Shell
# curl solo se detiene en el desafío 402: añade un cliente x402 (pestañas Node.js o Python) para pagar automáticamente.
curl -X POST 'https://api.17711.xyz/registry/web-scraper/v1/web-scraper/scrape_url' \
  -H 'content-type: application/json' \
  -d '{"url":"https://example.org"}'

El SDK de x402 gestiona el 402, la firma y el reintento por ti: una llamada, un resultado.

TypeScript
// npm install @x402/fetch @x402/evm viem
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const signer = privateKeyToAccount(process.env.EVM_PRIVATE_KEY as `0x${string}`);
const client = new x402Client();
client.register("eip155:*", new ExactEvmScheme(signer));
const fetchWithPayment = wrapFetchWithPayment(fetch, client);

const res = await fetchWithPayment("https://api.17711.xyz/registry/web-scraper/v1/web-scraper/scrape_url", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"url":"https://example.org"}),
});
console.log(await res.json());

El SDK de x402 gestiona el 402, la firma y el reintento por ti: una llamada, un resultado.

Python 3
# pip install "x402[httpx]" eth_account
import asyncio, os
from eth_account import Account
from x402 import x402Client
from x402.http.clients import x402HttpxClient
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client


async def main() -> None:
    client = x402Client()
    account = Account.from_key(os.environ["EVM_PRIVATE_KEY"])
    register_exact_evm_client(client, EthAccountSigner(account))
    async with x402HttpxClient(client) as http:
        response = await http.post("https://api.17711.xyz/registry/web-scraper/v1/web-scraper/scrape_url", json={"url":"https://example.org"})
        await response.aread()
        print(response.json())


asyncio.run(main())

El cliente Java de referencia del repositorio x402. Aún no hay un SDK de Java publicado: tú aportas la firma (por ejemplo con web3j).

Java 11+
// Reference client from github.com/coinbase/x402 (java/): build it with `mvn clean install`, then
// <dependency><groupId>org.x402</groupId><artifactId>x402</artifactId><version>1.0.0-SNAPSHOT</version></dependency>
import org.x402.client.X402HttpClient;
import org.x402.crypto.CryptoSigner;
import java.math.BigInteger;
import java.net.URI;
import java.net.http.HttpResponse;
import java.util.Map;

public class Call {
  public static void main(String[] args) throws Exception {
    // You provide the EIP-3009 signature (for example with web3j) from your private key (env EVM_PRIVATE_KEY).
    CryptoSigner signer = new CryptoSigner() {
      @Override
      public String sign(Map<String, Object> payload) {
        return signWithWallet(System.getenv("EVM_PRIVATE_KEY"), payload);
      }
    };
    X402HttpClient client = new X402HttpClient(signer);

    BigInteger amount = BigInteger.valueOf(4000); // $0.004 in USDC (6 decimals)
    String usdcOnBase = "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913";
    String payTo = "<the seller address from the 402 challenge>";
    HttpResponse<String> response = client.get(URI.create("https://api.17711.xyz/registry/web-scraper/v1/web-scraper/scrape_url"), amount, usdcOnBase, payTo);
    System.out.println(response.body());
  }
}

El SDK de x402 gestiona el 402, la firma y el reintento por ti: una llamada, un resultado.

Go
// go get github.com/x402-foundation/x402/go/v2
package main

import (
	"context"
	"fmt"
	"io"
	"net/http"
	"os"
	"time"
	"strings"

	x402 "github.com/x402-foundation/x402/go/v2"
	x402http "github.com/x402-foundation/x402/go/v2/http"
	evm "github.com/x402-foundation/x402/go/v2/mechanisms/evm/exact/client"
	evmsigners "github.com/x402-foundation/x402/go/v2/signers/evm"
)

func main() {
	signer, _ := evmsigners.NewClientSignerFromPrivateKey(os.Getenv("EVM_PRIVATE_KEY"))
	client := x402.Newx402Client().Register("eip155:*", evm.NewExactEvmScheme(signer))
	httpClient := x402http.WrapHTTPClientWithPayment(http.DefaultClient, x402http.Newx402HTTPClient(client))

	ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
	defer cancel()
	req, _ := http.NewRequestWithContext(ctx, "POST", "https://api.17711.xyz/registry/web-scraper/v1/web-scraper/scrape_url", strings.NewReader(`{"url":"https://example.org"}`))
	req.Header.Set("content-type", "application/json")
	res, err := httpClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)
	fmt.Println(res.StatusCode, string(body))
}

El SDK de x402 gestiona el 402, la firma y el reintento por ti: una llamada, un resultado.

Rust
// Cargo.toml: x402-reqwest = "0.6", x402-chain-eip155, alloy-signer-local, reqwest, tokio (features = ["full"])
use alloy_signer_local::PrivateKeySigner;
use reqwest::Client;
use std::sync::Arc;
use x402_chain_eip155::V2Eip155ExactClient;
use x402_reqwest::{ReqwestWithPayments, ReqwestWithPaymentsBuild, X402Client};

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let signer: Arc<PrivateKeySigner> = Arc::new(std::env::var("EVM_PRIVATE_KEY")?.parse()?);
    let x402 = X402Client::new().register(V2Eip155ExactClient::new(signer));
    let http = Client::new().with_payments(x402).build();

    let res = http
        .post("https://api.17711.xyz/registry/web-scraper/v1/web-scraper/scrape_url")
        .header("content-type", "application/json")
        .body(r#"{"url":"https://example.org"}"#)
        .send()
        .await?;
    println!("{} {}", res.status(), res.text().await?);
    Ok(())
}

Lo que hace entre bastidores el cliente x402 de tu agente (técnico, ilustrativo).

  1. 1

    Llamar al endpoint

    →
    POST https://api.17711.xyz/registry/web-scraper/v1/web-scraper/scrape_url
    content-type: application/json
    
    {
      "url": "https://example.org"
    }
    ←
    402 Payment Required
    HTTP/1.1 402 Payment Required
    PAYMENT-REQUIRED: <base64>
    
    {
      "x402Version": 2,
      "accepts": [
        {
          "scheme": "exact",
          "network": "eip155:8453",
          "amount": "4000",
          "asset": "USDC",
          "payTo": "0x…"
        }
      ]
    }
  2. 2

    Firmar el pago (local)

    Tu wallet firma localmente una autorización USDC. Solo la firma sale de tu máquina.

    →
    wallet.sign(transferWithAuthorization,
      to: payTo, value: 4000 ($0.004 USDC), network: base)
    ←
    signature
    PAYMENT-SIGNATURE: <signed authorisation>
  3. 3

    Reintentar con la firma

    →
    POST https://api.17711.xyz/registry/web-scraper/v1/web-scraper/scrape_url
    PAYMENT-SIGNATURE: <signed authorisation>
    content-type: application/json
    
    {
      "url": "https://example.org"
    }
    ←
    200 OK
    HTTP/1.1 200 OK
    PAYMENT-RESPONSE: <settlement receipt>
    
    { … the tool's JSON answer … }

El SDK de x402 hace los pasos 2 y 3 por ti.

¿Qué hará tu agente con esto?

Tareas reales, una o dos llamadas cada una.

Comprobar antes de enviar

Un agente de trading o pagos criba una wallet o un token (sanciones, estafas, honeypots) antes de mover fondos.

Onboarding KYC / KYB

Verifica una empresa y criba nombres contra listas de sanciones en dos llamadas, con fuentes, en lugar de una revisión manual.

Prospección y enriquecimiento

A partir de un dominio, obtén un perfil estructurado de la empresa y los contactos públicos para llegar a ella.

Agentes de investigación

Busca en la web, descarga páginas y conviértelas en JSON según tu esquema, sin gestionar tus propios proxies.

Monitorización de seguridad

Audita la postura TLS, correo y cabeceras de un dominio y comprueba si una IP está en listas de bloqueo.

Pipelines de LLM fiables

Repara y valida la salida de un modelo según un JSON Schema para que el código posterior nunca falle.

Hecho para agentes, querido por quienes los construyen

Pagas resultados, no licencias

Desde 0,002 $ por llamada, liquidado por petición. Nada que renovar, nada que olvidar cancelar.

Cero fricción

Una wallet es la única credencial. Sin cuenta que crear, sin clave que rotar o filtrar, sin ciclo de compras.

Respuestas en las que tu código puede confiar

Cada herramienta devuelve JSON tipado con esquema, ejemplos y entrada OpenAPI. Sin scraping, sin adivinar.

Lo encuentra tu agente, no tú

Un servidor MCP público permite a tu agente buscar en todo el catálogo y elegir solo la herramienta adecuada.

Conéctalo a tu agente en 30 segundos

Elige tu cliente, copia y pega. Sin clave ni registro: el servidor solo busca y describe; el pago queda en tu propia wallet.

Claude CodeClaude DesktopCursorVS CodeCodexOtro cliente
Terminal
claude mcp add --transport http 17711 https://api.17711.xyz/mcp
claude_desktop_config.json
{
  "mcpServers": {
    "17711": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://api.17711.xyz/mcp"]
    }
  }
}
.cursor/mcp.json
{
  "mcpServers": {
    "17711": { "url": "https://api.17711.xyz/mcp" }
  }
}
.vscode/mcp.json
{
  "servers": {
    "17711": { "type": "http", "url": "https://api.17711.xyz/mcp" }
  }
}
~/.codex/config.toml
[mcp_servers.17711]
url = "https://api.17711.xyz/mcp"
Cualquier cliente con MCP remoto por Streamable HTTP: solo dale esta URL.
https://api.17711.xyz/mcp

Después, pídeselo a tu agente

“Busca un servicio que compruebe si una dirección de wallet está sancionada y muéstrame su precio y cómo llamarlo.”

El agente usa las herramientas MCP para buscar, leer el esquema y el precio, y tu cliente x402 paga.

Conecta tu agente en 60 sDocumento OpenAPI

Dale una wallet a tu agente, con seguridad, en cinco pasos

Tu agente paga con su propia wallet. Así se prepara de forma segura.

Wallet →

Tus preguntas, respondidas

¿Qué es x402?

Un protocolo abierto que recupera el estado HTTP 402 «Payment Required». El servidor responde 402 con un precio; el cliente firma un pago en USDC y reintenta. Una petición, un pago, sin cuenta.

¿Necesito una cuenta o una clave de API?

No. Tu wallet es la única credencial. Nada que crear, rotar ni filtrar.

¿Cuánto cuesta una llamada y cuándo se cobra?

De 0,002 $ a unos céntimos, mostrado antes de pagar. El pago solo se liquida si el servicio tiene éxito: una llamada fallida nunca se cobra.

¿Hay una prueba gratuita?

Sí: la mayoría de los servicios incluyen unas pocas llamadas gratuitas por llamante, herramienta y día, para probar antes de financiar una wallet. Los servicios que pagan a un proveedor externo en cada llamada (se indica en su página) no las tienen.

Todas las preguntas →

Tus primeras llamadas corren por nuestra cuenta

La mayoría de los servicios incluyen llamadas gratis cada día. Prueba uno ahora, sin registro ni wallet.

Explorar los serviciosConecta tu agente en 60 s