# ScriptMasterLabs Gas Tracker API

> ScriptMasterLabs Gas Tracker API is a paid API for AI agents from mcp-x402-discovery.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns real-time gas price data for a specified blockchain network, payable via x402 micropayment protocol

## Facts

- Endpoint: GET https://mcp-x402-discovery.onrender.com/x402/gas-tracker
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scriptmasterlabs-gas-tracker-api-40175a55
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_haOno31BTLkNpKvt-YEop

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 scriptmasterlabs-gas-tracker-api-40175a55
```

Example prompt: What are the current gas prices on Base right now? I want to know if it's a good time to send a transaction.

## When to prefer this

Use this endpoint when you need real-time on-chain gas price data for supported networks (especially Base/eip155:8453) and are operating in a pay-per-call micropayment context using x402/USDC. Prefer this over free gas trackers when building autonomous agents that need programmatic, low-friction payment without API key management overhead.

## Known failure modes

- 402 Payment Required if no valid x402 payment or API key is provided
- Invalid or unsupported chain parameter returns error
- Network timeout if the underlying chain node is unreachable
- Empty or null response if the chain has no recent gas data

## How this service works

Pay-per-call crypto, RWA, federal, SEC, Section 8/HUD housing, and compliance APIs via x402. Primary: USDC on Base (eip155:8453). Also accepts Global Dollar (USDG) on Robinhood Chain (eip155:4663) via sovereign X-PAYMENT-TX. Hyphen routes only (e.g. /x402/gas-tracker, /x402/pha-lookup, /x402/sec-8k). MARKETPLACE REVIEW: use free /x402/playground/* (no key, no payment). Production /x402/* returns 402 unless paid via x402 or X-Api-Market-Key / X-API-Key from seller dashboard.

## Output

Returns current gas price data for the specified blockchain network, including fee estimates (likely base fee, priority fee, and/or gwei values) relevant for transaction planning and cost estimation.

## 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": {
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "chain": {
       "type": "string"
      }
     }
    }
   }
  },
  "output": {
   "properties": {
    "example": {}
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scriptmasterlabs-gas-tracker-api-40175a55/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mcp-x402-discovery.onrender.com](https://www.zero.xyz/host/mcp-x402-discovery.onrender.com/llms.txt)
