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

# x402 and A2A

> Talk to the Portir agent over HTTP or as another agent.

## x402

`POST https://agent.portir.xyz/x402` with a natural-language prompt. The agent answers with the same tools as the MCP server.

```bash theme={null}
curl -X POST https://agent.portir.xyz/x402 \
  -H 'content-type: application/json' \
  -d '{"prompt":"Is NVDA fairly priced right now?"}'
# {"result":"NVDA is fairly priced (GO) right now."}
```

| Property | Value |
| - | - |
| Price | Free today (`price_usd = 0`); the operator pays for the model |
| Rate limit | 20 requests per 60 seconds for the whole process |
| Payment rail when priced | B402 (Binance Pay facilitator on BNB Chain) |

## A2A

The agent publishes an A2A agent card at `https://agent.portir.xyz/.well-known/agent-card.json`. Its skills follow Agent Studio's ERC-8183 seller flow:

| Skill | Does |
| - | - |
| `negotiate` | Send a task and terms; receive a wallet-signed price quote to anchor on-chain with `createJob` + fund |
| `notify_funded` | Tell the agent a job is funded; it verifies the signed quote and delivers in the background |

## Health

`GET https://agent.portir.xyz/ping` returns `{"status":"HEALTHY"}`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.