# LatAm P2P Data – MXN (Mexican Peso)

> LatAm P2P Data – MXN (Mexican Peso) is a paid API for AI agents from latamp2papi.dpdns.org, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Returns real-time USDT/MXN P2P exchange rate data including official rate, P2P buy/sell rates, and the P2P premium percentage.

## Facts

- Endpoint: GET https://latamp2papi.dpdns.org/fx/mxn
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/latam-p2p-data-mxn-mexican-peso-f2a28d0b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_S2luIWpywCduB-Mm98OT1

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability latam-p2p-data-mxn-mexican-peso-f2a28d0b
```

Example prompt: What's the current P2P USDT rate against the Mexican peso right now — give me the official rate, the P2P buy and sell prices, and how big the premium is?

## When to prefer this

Choose this endpoint when you need real-time, informal or P2P market USDT/MXN exchange rates specifically — especially when comparing against the official rate to detect premiums or arbitrage. It is preferable over traditional FX APIs when the use case involves stablecoins, crypto remittances, or informal currency markets in Mexico where official rates diverge from street/P2P reality.

## Known failure modes

- Payment not received or insufficient USDC balance via x402 protocol — returns 402 Payment Required
- Service unavailable if upstream P2P data source is down — may return 503
- Stale data if P2P market has low liquidity or data feed has a delay
- Invalid endpoint path returns 404

## How this service works

Datos P2P en tiempo real de USDT contra monedas latinoamericanas. Pago por consulta via x402 (USDC en Base).

## Output

A JSON object containing the currency pair label (e.g. 'USD/MXN'), a Unix timestamp, the official exchange rate (tasa_oficial), the P2P premium percentage over the official rate (prima_p2p_pct), the P2P USDT sell rate (tasa_p2p_venta_usdt), and the P2P USDT buy rate (tasa_p2p_compra_usdt).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "par": "USD/NIO",
  "timestamp": 1760000000,
  "tasa_oficial": 36.62,
  "prima_p2p_pct": 1.31,
  "tasa_p2p_venta_usdt": 36.5,
  "tasa_p2p_compra_usdt": 37.1
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/latam-p2p-data-mxn-mexican-peso-f2a28d0b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from latamp2papi.dpdns.org](https://www.zero.xyz/host/latamp2papi.dpdns.org/llms.txt)
