# EruditePay USDC/USDT Rates & Gas Estimates

> EruditePay USDC/USDT Rates & Gas Estimates is a paid API for AI agents from x402.eruditepay.com, paid per call via x402, $0.001/call, status down (last checked 2026-09-15).

Returns current USDC and USDT USD prices plus gas cost estimates for Base and Tron network transfers

## Facts

- Endpoint: GET https://x402.eruditepay.com/v1/pay/rates
- Price: $0.001/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-eruditepay-com-6d1f354f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GT2mV9HMtTJY3q2qcjmob

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 x402-eruditepay-com-6d1f354f
```

Example prompt: What's the current price of USDC and USDT right now, and how much would it cost in gas to transfer USDC on Base versus USDT on Tron?

## When to prefer this

Use this endpoint when you need both stablecoin price rates and gas estimates in a single call, especially when operating in the EruditePay/x402 payment ecosystem on Base or Tron. Prefer this over generic crypto price APIs when you also need network-specific fee context for USDC (Base) or USDT (Tron) transfers.

## Known failure modes

- Stale or cached data returned if upstream Coinbase price feed is unavailable
- Network timeout if EruditePay infrastructure is down
- Rate or price data may lag real-time market by cache duration
- Payment required error (402) if USDC payment of $0.001 is not provided

## How this service works

Current USDC/USDT prices and gas estimates

## Output

Returns a JSON object with USDC and USDT prices in USD (e.g. USDC=1.0, USDT=0.9999), plus gas cost estimates for Base (USDC transfer: $0.001–$0.01, ~2s confirmation) and Tron (USDT transfer: free with energy or ~6.5 TRX, ~3s confirmation), along with metadata like data source (Coinbase), cache status, and response timestamp.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {}
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "rates": {
       "type": "object"
      },
      "gas_estimates": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "_meta",
  "rates",
  "cached",
  "source",
  "gas_estimates"
 ],
 "properties": {
  "_meta": {
   "type": "object",
   "required": [
    "cached",
    "dataAge",
    "endpoint",
    "provider",
    "timestamp",
    "responseTimeMs"
   ],
   "properties": {
    "cached": {
     "type": "boolean"
    },
    "dataAge": {
     "type": "string"
    },
    "endpoint": {
     "type": "string"
    },
    "provider": {
     "type": "string"
    },
    "timestamp": {
     "type": "string"
    },
    "responseTimeMs": {
     "type": "number"
    }
   }
  },
  "rates": {
   "type": "object",
   "required": [
    "usdc",
    "usdt"
   ],
   "properties": {
    "usdc": {
     "type": "object",
     "required": [
      "usd"
     ],
     "properties": {
      "usd": {
       "type": "number"
      }
     }
    },
    "usdt": {
     "type": "object",
     "required": [
      "usd"
     ],
     "properties": {
      "usd": {
       "type": "number"
      }
     }
    }
   }
  },
  "cached": {
   "type": "boolean"
  },
  "source": {
   "type": "string"
  },
  "gas_estimates": {
   "type": "object",
   "required": [
    "base",
    "tron"
   ],
   "properties": {
    "base": {
     "type": "object",
     "required": [
      "transfer_usdc",
      "confirmation_time"
     ],
     "properties": {
      "transfer_usdc": {
       "type": "string"
      },
      "confirmation_time": {
       "type": "string"
      }
     }
    },
    "tron": {
     "type": "object",
     "required": [
      "transfer_usdt",
      "confirmation_time"
     ],
     "properties": {
      "transfer_usdt": {
       "type": "string"
      },
      "confirmation_time": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-eruditepay-com-6d1f354f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.eruditepay.com](https://www.zero.xyz/host/x402.eruditepay.com/llms.txt)
