# Synapse Gas Price API

> Synapse Gas Price API is a paid API for AI agents from anibalb.duckdns.org, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-31).

Returns the current Ethereum/Base network gas price in Gwei, paid per call via x402 micropayment in USDC

## Facts

- Endpoint: GET https://anibalb.duckdns.org/x402/gas-price?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/synapse-gas-price-api-b5d5b96b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_z7H4VR7SDiHtmbmCDSevg

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 synapse-gas-price-api-b5d5b96b
```

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

## When to prefer this

Choose this endpoint when you need a quick, no-account, no-API-key gas price lookup paid for with a tiny USDC micropayment via x402. Ideal for agents that need on-demand gas price data without committing to a subscription service. Best for Base/Ethereum ecosystem checks prior to transaction submission.

## Known failure modes

- Network or RPC node unavailability may return an error or stale value
- x402 payment failure (insufficient USDC balance or misconfigured payment header) results in a 402 response before data is returned
- Dynamic DNS hostname (duckdns.org) may be temporarily unreachable if the host machine is offline

## How this service works

Public data and utility APIs paid per call in USDC on Base (x402). No accounts, no API keys. 174 routes: crypto/equity data, onchain reads, DNS/email/security intel, geo/weather, x402 payment diagnostics, dev utilities and more.

## Output

Returns a JSON object with the current network gas price expressed in Gwei (e.g. {"gas_gwei": 15}), reflecting live on-chain fee conditions on the Base/Ethereum network.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "gas_gwei": 15
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/synapse-gas-price-api-b5d5b96b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from anibalb.duckdns.org](https://www.zero.xyz/host/anibalb.duckdns.org/llms.txt)
