# Losbeto Commodity Price API

> Losbeto Commodity Price API is a paid API for AI agents from losbeto-production-dd7c.up.railway.app, paid per call via x402, $0.012/call, status unknown (last checked 2026-09-14).

Returns current commodity price data for a specified commodity via a pay-per-call USDC micropayment endpoint.

## Facts

- Endpoint: GET https://losbeto-production-dd7c.up.railway.app/commodity-price
- Price: $0.012/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/losbeto-commodity-price-api-2f5477ee
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_y_4TvwAdryRyIyew-NY7k

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-commodity-price-api-2f5477ee
```

Example prompt: What is the current market price of gold? Use the Losbeto commodity price endpoint and pay the $0.012 USDC fee to get the live data.

## When to prefer this

Choose this endpoint when you need real-time commodity price lookups within an AI agent workflow that supports x402 micropayments in USDC, particularly when operating on Solana or Base chains and cost per call at $0.012 is acceptable. Useful for trading bots, portfolio managers, or price-alert agents that need on-demand commodity data without a subscription.

## Known failure modes

- Invalid or unsupported commodity name returns an error or empty result
- Missing payment or failed USDC micropayment returns HTTP 402
- Upstream data source unavailable causes timeout or 5xx error
- Malformed query parameters result in a 400 bad request
- Rate limits or node congestion on Solana/Base may delay payment confirmation

## How this service works

Losbeto: 67 endpoints x402 monetizados. Solana + Base. USDC micropayments para AI agents. Preços a partir de $0.003.

## Output

A JSON response containing the current market price and related data for the requested commodity, priced at $0.012 USDC per call with payment handled via x402 protocol on Solana or Base.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/losbeto-commodity-price-api-2f5477ee/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from losbeto-production-dd7c.up.railway.app](https://www.zero.xyz/host/losbeto-production-dd7c.up.railway.app/llms.txt)
