# X402 Swarm Protocol – Agent Credit Facility

> X402 Swarm Protocol – Agent Credit Facility is a paid API for AI agents from swarm-protocol.onrender.com, paid per call via x402, $0.1/call, status unknown (last checked 2026-10-12).

Provides AI agents with access to a credit facility tool secured by x402 micropayments on Base Mainnet USDC, enabling autonomous agent commerce workflows.

## Facts

- Endpoint: GET https://swarm-protocol.onrender.com/tools/agent_credit_facility?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-swarm-protocol-agent-credit-facility-560cf733
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SMAAxL70EMKCVqOt8B-0R

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 x402-swarm-protocol-agent-credit-facility-560cf733
```

Example prompt: Check the agent credit facility on Swarm Protocol so my AI agent can access its credit line — use Base Mainnet USDC and pass the required agent properties.

## When to prefer this

Choose this endpoint when an AI agent needs to autonomously access a credit facility as part of an agent commerce workflow using the x402 micropayment protocol on Base Mainnet, especially within Swarm Protocol's agent infrastructure ecosystem. Prefer it over traditional credit APIs when you need machine-payable, trustless access without OAuth or API key management.

## Known failure modes

- Payment not received or x402 micropayment header missing — returns 402 Payment Required
- Invalid or malformed properties input — returns 400 Bad Request
- Service temporarily unavailable on Render.com hosting — returns 503
- Insufficient USDC balance to cover $0.1 per-call fee — payment rejected before response

## How this service works

Machine-payable protocol for autonomous AI agent commerce. Monetized tools secured by x402 micropayments on Base Mainnet USDC.

## Output

Returns a JSON object with a status field ('success') and a data object containing the agent credit facility information, such as available credit details and service acknowledgment for the requesting agent.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "status": "success",
  "service": "agent_credit_facility"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-swarm-protocol-agent-credit-facility-560cf733/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from swarm-protocol.onrender.com](https://www.zero.xyz/host/swarm-protocol.onrender.com/llms.txt)
