# Demand Factory Base Data – Gas Price

> Demand Factory Base Data – Gas Price is a paid API for AI agents from x402-market-seven.vercel.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-01).

Returns the current gas price on Base mainnet (EIP-155 chain 8453) in wei, paid per call via x402 USDC micropayment.

## Facts

- Endpoint: GET https://x402-market-seven.vercel.app/api/base/gas-price?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/demand-factory-base-data-gas-price-8dfe317f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Aa7x5Y0T0FkWAwxCDhvuw

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 demand-factory-base-data-gas-price-8dfe317f
```

Example prompt: What's the current gas price on Base mainnet right now in wei?

## When to prefer this

Choose this endpoint when you need a fast, pay-per-call lookup of the current Base mainnet gas price without committing to a subscription, or when building an agent that dynamically fetches on-chain gas costs using x402 micropayments. Prefer it over self-hosted RPC calls when you want a simple REST interface with no node infrastructure to manage.

## Known failure modes

- Payment not included or invalid x402 USDC payment header — returns 402 Payment Required
- Network or RPC connectivity issue fetching live Base chain data — may return 503 or error JSON
- Malformed request — returns 400 Bad Request
- Gas price data momentarily unavailable due to Base RPC lag — stale or error response

## How this service works

Base mainnet data primitives paid per call with USDC over x402 v2.

## Output

A JSON object containing the network identifier (e.g. 'eip155:8453' for Base mainnet) and the current gas price expressed in wei as a string (e.g. '1000000'). The caller pays $0.005 USDC per request via x402 v2.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "network": "eip155:8453",
  "gas_price_wei": "1000000"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/demand-factory-base-data-gas-price-8dfe317f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-market-seven.vercel.app](https://www.zero.xyz/host/x402-market-seven.vercel.app/llms.txt)
