Box agent commerce demo

Buy a report bundle. Receive Box view and download links.

This x402 endpoint is a Box hackathon proof: a buyer agent pays over x402, then receives a JSON payload with Box links for the MU Abundance report and the diamond supermaterial market analysis.

What the buyer gets

Two Box-hosted research assets, returned after payment.

MU Abundance report

PDF abundance-style research report on Micron Technology.

Box view link + Box download link returned only in the paid JSON payload.

Diamond market analysis

Public-equity screen for synthetic/lab-grown diamond and diamond-supermaterial exposure.

Box view link + Box download link returned only in the paid JSON payload.

Agent-readable receipt

The response includes price, seller, Box file IDs, workflow steps, and report metadata.

GET /api/box-report-bundle

Workflow

Box sells the content. x402 gates the transaction.

1. Store in Box

The seller stores report files in a Box folder and creates shared links with download permission.

2. Gate with x402

The buyer agent requests the endpoint, receives a 402 payment challenge, pays in USDC on Base, and retries.

3. Return links

The paid response returns Box view/download links so the agent can view, archive, or download the reports.

Endpoint

Machine-readable purchase endpoint.

Price: 0.001 USDC on Base. The endpoint returns HTTP 402 until the buyer provides a valid x402 payment response.

GET https://darrylbots.com/api/box-report-bundle