# Bitrefill Product Detail

> Bitrefill Product Detail is a paid API for AI agents from api.bitrefill.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-16).

Retrieves a specific product's available packages, pricing tiers, and recipient requirements (e.g. phone number, email) before creating an invoice on Bitrefill.

## Facts

- Endpoint: GET https://api.bitrefill.com/x402/products/detail
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 2
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bitrefill-product-detail-9660d225
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6YBSgioC4UsNEg1m9fm9X

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 bitrefill-product-detail-9660d225
```

Example prompt: What packages and pricing are available for the amazon-us gift card on Bitrefill, and what recipient details do I need to provide to buy one?

## When to prefer this

Use this endpoint when you have a product slug (e.g. from a Bitrefill search result) and need to inspect the exact package options, pricing, and required recipient fields before creating a purchase invoice. It is the necessary pre-purchase lookup step in the Bitrefill buy flow.

## Known failure modes

- Invalid or unknown product slug returns a 404 or error response
- Missing required 'slug' query parameter causes a 400 bad request
- Payment of $0.001 USDC via x402 fails due to insufficient balance or wallet misconfiguration
- Rate limiting if too many requests are made in a short period

## How this service works

Get a product's packages, pricing, and recipient requirements before creating an invoice.

## Output

Returns the product's available packages (denominations, prices in supported currencies), any recipient information requirements (e.g. phone number format, email), and product metadata needed to construct a purchase invoice.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "slug"
     ],
     "properties": {
      "slug": {
       "type": "string",
       "description": "Product slug, e.g. amazon-us (from a search result or my/esims)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "id": "amazon-us",
  "name": "Amazon",
  "packages": [
   {
    "package_value": "25",
    "package_currency": "USD"
   },
   {
    "package_value": "50",
    "package_currency": "USD"
   }
  ],
  "next_step": {
   "url": "/x402/invoice/create",
   "body": {
    "items": [
     {
      "product_id": "amazon-us",
      "package_value": "25"
     }
    ]
   }
  },
  "recipient_type": "none",
  "recipient_required": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bitrefill-product-detail-9660d225/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.bitrefill.com](https://www.zero.xyz/host/api.bitrefill.com/llms.txt)
