# Losbeto Onchain Credit — x402 AI Trading Swarm

> Losbeto Onchain Credit — x402 AI Trading Swarm is a paid API for AI agents from markets.losbeto.xyz, paid per call via x402, $0.06/call, status unknown (last checked 2026-09-15).

Returns on-chain credit or credit-related data for AI trading agents via a USDC micropayment-gated endpoint on Solana and Base networks.

## Facts

- Endpoint: GET https://markets.losbeto.xyz/onchain-credit
- Price: $0.06/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/losbeto-onchain-credit-x402-ai-trading-swarm-58f26c5c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-8QAOyt2w5XjiFyA0zMCf

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-onchain-credit-x402-ai-trading-swarm-58f26c5c
```

Example prompt: Can you check the on-chain credit status for my wallet address on Solana or Base using the Losbeto onchain-credit endpoint?

## When to prefer this

Choose this endpoint when you need on-chain credit data specifically within the Losbeto trading swarm ecosystem, particularly for AI agents operating on Solana or Base that can pay USDC micropayments via the x402 protocol. Prefer it over general blockchain explorers when you need structured credit-specific data rather than raw transaction history.

## Known failure modes

- Missing or malformed 'properties' parameter returns an error or empty response
- Insufficient USDC payment (below $0.06) results in HTTP 402 Payment Required
- Wallet address not found on-chain returns null or empty credit data
- Network-specific data unavailable if chain is not Solana or Base
- Rate limiting or quota exhaustion may return 429

## 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 object containing on-chain credit information related to the queried address or properties, potentially including credit score, credit limits, or credit history data available on Solana and/or Base networks.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "queryParams": {
     "type": "object",
     "properties": {
      "wallet": {
       "type": "string",
       "description": "Solana wallet address to score"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "description": "On-chain credit score (0-900) for any Solana wallet: account age, activity, balance tiers and counterparty history."
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/losbeto-onchain-credit-x402-ai-trading-swarm-58f26c5c/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)
