# Pyfile x402 Pass Token Purchase

> Pyfile x402 Pass Token Purchase is a paid API for AI agents from pyfile-agent.taile3ff35.ts.net, paid per call via x402, $0.1/call, status unknown (last checked 2026-10-29).

Purchase a time-limited pass token granting quota-based access to web search and web-reader endpoints without per-call payment on each request

## Facts

- Endpoint: POST https://pyfile-agent.taile3ff35.ts.net/pass/buy?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pyfile-x402-pass-token-purchase-984fc1aa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pxpIo8rp7WaWCOVhu44Oi

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 pyfile-x402-pass-token-purchase-984fc1aa -d '<json body>'
```

Example prompt: Buy me a 24-hour web pass on Pyfile so I can run web searches and page reads without paying per call — I want the web-24h scope with 500 quota, paid in USDC on Base.

## When to prefer this

Choose this endpoint when an agent or pipeline expects to make multiple web search or web-read calls within a 24-hour window and wants to avoid per-call micropayments. It is more cost-efficient than paying $0.10 per individual call once more than a few calls are planned. Prefer this over the per-call endpoints when orchestrating research sessions, CI pipelines, or batch data-gathering workflows. Not useful for one-off single calls where the pass overhead isn't justified.

## Known failure modes

- Payment rejected or insufficient USDC balance — x402 payment handshake fails, no token issued
- Invalid or missing payment header — 402 response returned without token
- Scope not recognized — bad scope value results in error response
- Token already expired before use — clock skew or network latency edge case
- Service unavailable — Tailscale host unreachable, connection timeout

## How this service works

Pay-per-call endpoints for AI agents: web search, web-to-markdown reader, LLM chat completions, encrypted secret storage with one-read dead drops, and a business-idea generator. Payment over x402: USDC on Base, or XNO on nano:mainnet.

## Output

Returns a JSON object containing a pass token string (e.g. pass_7c1a...), the quota (number of covered calls, e.g. 500), the scope label (e.g. web-24h), the valid_until ISO timestamp, a list of covered routes (e.g. /web/search and /web/read), and an instruction to send the token as the X-Pass header on subsequent requests to skip per-call payment.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "note": "Send header X-Pass: <token> on covered routes to skip per-call payment.",
  "quota": 500,
  "scope": "web-24h",
  "token": "pass_7c1a...",
  "routes": [
   "/web/search",
   "/web/read"
  ],
  "valid_until": "2026-09-23T14:00:00.000Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pyfile-x402-pass-token-purchase-984fc1aa/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pyfile-agent.taile3ff35.ts.net](https://www.zero.xyz/host/pyfile-agent.taile3ff35.ts.net/llms.txt)
