# Losbeto Gas Price API

> Losbeto Gas Price API is a paid API for AI agents from markets.losbeto.xyz, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-14).

Returns current blockchain gas prices via a pay-per-call endpoint using x402 micropayments in USDC

## Facts

- Endpoint: GET https://markets.losbeto.xyz/gas-price?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/losbeto-gas-price-api-f89c11c8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vP4LRlJGR485p-hrz0vuf

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 losbeto-gas-price-api-f89c11c8
```

Example prompt: What's the current gas price right now? I need to know if it's cheap enough to submit my on-chain transaction.

## When to prefer this

Choose this endpoint when you need a lightweight, no-account gas price lookup paid via USDC micropayment on Base, Solana, Algorand, or Polygon. It is ideal for AI agents that need to check on-chain transaction costs without managing API keys, and when operating within a broader x402 payment-enabled stack already used with Losbeto's other market data endpoints.

## Known failure modes

- Payment not received or x402 payment flow incomplete — returns 402 Payment Required
- Network connectivity issues to markets.losbeto.xyz — returns 5xx error
- Unsupported network parameter — returns 400 or empty response
- Stale or delayed gas price data if oracle feed is lagging

## How this service works

OpenAI-compatible LLM gateway at $0.005/call — change base_url, pay in USDC. Plus pay-per-call market data: multi-oracle price consensus, sentiment, forex, equities, commodities, Brazil macro (BCB/B3) and crypto. No API keys, no accounts. USDC on Base, Solana, Algorand and Polygon via x402.

## Output

Returns current gas price data for blockchain networks, likely including gas price in gwei or native fee units, enabling agents to assess transaction cost before submitting on-chain operations. Payment is $0.001 USDC via x402 protocol with no API key required.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

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