> ## Documentation Index
> Fetch the complete documentation index at: https://docs.polygon.technology/llms.txt
> Use this file to discover all available pages before exploring further.

# Agentic Services

> A directory of x402-enabled APIs that can be discovered and called by AI agents using pay-per-call USDC payments on Polygon.

Most APIs require an account, an API key, and a billing relationship before a single request can be made. Agentic Services removes that setup: each call is paid in USDC at the moment it's made, with no registration and no subscription.

The marketplace lists x402-enabled APIs across search, inference, scraping, automation, and communication categories. Buyers pay per request; sellers publish by wrapping an existing endpoint and setting a price.

<Note>
  Visit the marketplace: [agentic-services.polygon.technology](https://agentic-services.polygon.technology)
</Note>

## Overview

Agentic Services is built on the x402 payment protocol. Each listed API is wrapped in an x402 layer that issues a 402 challenge, collects a USDC payment signature, settles onchain through a Polygon facilitator, and forwards the request to the upstream API. The catalog is also available as a machine-readable Markdown file (`/SKILL.md`) and a JSON endpoint (`/api/discover/routes`), so AI agents can discover routes and pay autonomously without human configuration.

## Features

<CardGroup cols={2}>
  <Card title="Service catalog" icon="grid">
    Browse APIs by category with pricing, network, and example requests on each listing.
  </Card>

  <Card title="Pay per request" icon="coins">
    Settle each call in USDC on Polygon. No subscriptions, no prepaid credits.
  </Card>

  <Card title="Embedded wallet" icon="wallet">
    Sign in with email and pay from an embedded wallet. No extensions, no gas to manage.
  </Card>

  <Card title="Testing console" icon="terminal">
    Send live requests from the browser, inspect responses, and view settlement details.
  </Card>

  <Card title="Agent discovery" icon="robot">
    Fetch the catalog as Markdown (`/SKILL.md`) or JSON (`/api/discover/routes`).
  </Card>

  <Card title="Publish an API" icon="plus">
    Wrap an existing REST endpoint, set a price, and list it as an x402 service.
  </Card>
</CardGroup>

## Payment flow

When a buyer calls a service in the catalog, the marketplace's x402 wrapper challenges, verifies, and settles the payment before forwarding to the upstream API. The flow is the standard x402 v2 exchange; the marketplace just hosts the resource server and the catalog.

<div style={{border:"1px solid #C8CFE1",borderRadius:"12px",overflow:"hidden",marginBottom:"24px"}}>
  <div style={{background:"linear-gradient(180deg,#EAE4F5 0%,#F6F3FB 100%)",borderBottom:"1px solid #D5C4F2",padding:"10px 16px",fontSize:"11px",fontWeight:"700",color:"#670DE5",letterSpacing:"0.06em",textTransform:"uppercase"}}>x402 payment flow</div>

  <div style={{borderBottom:"1px solid #EEF0F9",padding:"9px 16px",display:"flex",alignItems:"center",gap:"10px"}}>
    <span style={{color:"#929EBA",fontSize:"11px",fontWeight:"700",minWidth:"16px",textAlign:"right"}}>1</span>
    <span style={{background:"#EEF0F9",color:"#48526F",padding:"2px 8px",borderRadius:"4px",fontSize:"11px",fontWeight:"600",whiteSpace:"nowrap"}}>Client</span>
    <span style={{color:"#670DE5",fontWeight:"700"}}>→</span>
    <span style={{background:"#EAE4F5",color:"#670DE5",padding:"2px 8px",borderRadius:"4px",fontSize:"11px",fontWeight:"700",whiteSpace:"nowrap"}}>Service</span>
    <span style={{fontFamily:"'Geist Mono',ui-monospace,monospace",fontSize:"12px",color:"#141635"}}>GET /endpoint</span>
  </div>

  <div style={{borderBottom:"1px solid #EEF0F9",padding:"9px 16px",display:"flex",alignItems:"center",gap:"10px"}}>
    <span style={{color:"#929EBA",fontSize:"11px",fontWeight:"700",minWidth:"16px",textAlign:"right"}}>2</span>
    <span style={{background:"#EAE4F5",color:"#670DE5",padding:"2px 8px",borderRadius:"4px",fontSize:"11px",fontWeight:"700",whiteSpace:"nowrap"}}>Service</span>
    <span style={{color:"#670DE5",fontWeight:"700"}}>→</span>
    <span style={{background:"#EEF0F9",color:"#48526F",padding:"2px 8px",borderRadius:"4px",fontSize:"11px",fontWeight:"600",whiteSpace:"nowrap"}}>Client</span>
    <span style={{fontSize:"13px",color:"#141635"}}>402 Payment Required with price and accepts block (USDC, eip155:137, payTo)</span>
  </div>

  <div style={{borderBottom:"1px solid #EEF0F9",padding:"9px 16px",display:"flex",alignItems:"center",gap:"10px"}}>
    <span style={{color:"#929EBA",fontSize:"11px",fontWeight:"700",minWidth:"16px",textAlign:"right"}}>3</span>
    <span style={{background:"#EEF0F9",color:"#48526F",padding:"2px 8px",borderRadius:"4px",fontSize:"11px",fontWeight:"600",whiteSpace:"nowrap"}}>Client</span>
    <span style={{color:"#670DE5",fontWeight:"700"}}>→</span>
    <span style={{background:"#EAE4F5",color:"#670DE5",padding:"2px 8px",borderRadius:"4px",fontSize:"11px",fontWeight:"700",whiteSpace:"nowrap"}}>Service</span>
    <span style={{fontSize:"13px",color:"#141635"}}>Retries with EIP-3009 PAYMENT-SIGNATURE header</span>
  </div>

  <div style={{borderBottom:"1px solid #EEF0F9",padding:"9px 16px",display:"flex",alignItems:"center",gap:"10px"}}>
    <span style={{color:"#929EBA",fontSize:"11px",fontWeight:"700",minWidth:"16px",textAlign:"right"}}>4</span>
    <span style={{background:"#EAE4F5",color:"#670DE5",padding:"2px 8px",borderRadius:"4px",fontSize:"11px",fontWeight:"700",whiteSpace:"nowrap"}}>Service</span>
    <span style={{color:"#670DE5",fontWeight:"700"}}>→</span>
    <span style={{background:"#EAE4F5",color:"#670DE5",padding:"2px 8px",borderRadius:"4px",fontSize:"11px",fontWeight:"700",whiteSpace:"nowrap"}}>Facilitator</span>
    <span style={{fontFamily:"'Geist Mono',ui-monospace,monospace",fontSize:"12px",color:"#141635"}}>POST /verify (signature + requirements)</span>
  </div>

  <div style={{borderBottom:"1px solid #EEF0F9",padding:"9px 16px",display:"flex",alignItems:"center",gap:"10px"}}>
    <span style={{color:"#929EBA",fontSize:"11px",fontWeight:"700",minWidth:"16px",textAlign:"right"}}>5</span>
    <span style={{background:"#EAE4F5",color:"#670DE5",padding:"2px 8px",borderRadius:"4px",fontSize:"11px",fontWeight:"700",whiteSpace:"nowrap"}}>Facilitator</span>
    <span style={{color:"#670DE5",fontWeight:"700"}}>→</span>
    <span style={{background:"#EAE4F5",color:"#670DE5",padding:"2px 8px",borderRadius:"4px",fontSize:"11px",fontWeight:"700",whiteSpace:"nowrap"}}>Polygon</span>
    <span style={{fontSize:"13px",color:"#141635"}}>Settles USDC onchain</span>
  </div>

  <div style={{borderBottom:"1px solid #EEF0F9",padding:"9px 16px",display:"flex",alignItems:"center",gap:"10px"}}>
    <span style={{color:"#929EBA",fontSize:"11px",fontWeight:"700",minWidth:"16px",textAlign:"right"}}>6</span>
    <span style={{background:"#EAE4F5",color:"#670DE5",padding:"2px 8px",borderRadius:"4px",fontSize:"11px",fontWeight:"700",whiteSpace:"nowrap"}}>Service</span>
    <span style={{fontSize:"13px",color:"#141635",marginLeft:"4px"}}>Forwards verified request to the upstream API, returns response</span>
  </div>

  <div style={{padding:"9px 16px",display:"flex",alignItems:"center",gap:"10px"}}>
    <span style={{color:"#929EBA",fontSize:"11px",fontWeight:"700",minWidth:"16px",textAlign:"right"}}>7</span>
    <span style={{background:"#EAE4F5",color:"#670DE5",padding:"2px 8px",borderRadius:"4px",fontSize:"11px",fontWeight:"700",whiteSpace:"nowrap"}}>Service</span>
    <span style={{color:"#670DE5",fontWeight:"700"}}>→</span>
    <span style={{background:"#EEF0F9",color:"#48526F",padding:"2px 8px",borderRadius:"4px",fontSize:"11px",fontWeight:"600",whiteSpace:"nowrap"}}>Client</span>
    <span style={{fontSize:"13px",color:"#141635"}}>200 OK with body and PAYMENT-RESPONSE receipt header</span>
  </div>
</div>

Using the `@x402/fetch` SDK, this entire round-trip is handled automatically: the SDK reads the 402, signs the EIP-3009 authorization with the client wallet, retries the request, and surfaces the response and receipt. For protocol details, see [x402 How It Works](/payment-services/agentic-payments/x402/guides/how-it-works).

## Available services

The marketplace includes services for:

* Web search
* News retrieval
* Web scraping
* Browser automation
* LLM inference
* AgentMail services

The live catalog is available at [agentic-services.polygon.technology](https://agentic-services.polygon.technology).

## Get started

<CardGroup cols={2}>
  <Card title="Open the marketplace" icon="globe" href="https://agentic-services.polygon.technology">
    Browse available services and test API calls directly from the browser.
  </Card>

  <Card title="Buyer quickstart" icon="arrow-right" href="/payment-services/agentic-payments/x402/guides/quickstart-buyers">
    Learn how to integrate x402 payments into an agent or application.
  </Card>

  <Card title="Seller quickstart" icon="money-bill" href="/payment-services/agentic-payments/x402/guides/quickstart-sellers">
    Learn how to expose an API as an x402-enabled service.
  </Card>

  <Card title="How x402 works" icon="book" href="/payment-services/agentic-payments/x402/guides/how-it-works">
    Understand the payment challenge, authorization, and settlement process.
  </Card>
</CardGroup>
