# DexL Marketplace Purchase

> DexL Marketplace Purchase is a paid API for AI agents from agents.dexl.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Executes a purchase of a marketplace product or service using a pre-negotiated quote or product ID, returning a completed transaction result.

## Facts

- Endpoint: POST https://agents.dexl.io/v1/marketplace/purchase
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dexl-marketplace-purchase-f96c57b4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_K8ukNt8m6hbF_pv3G5EiT

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 dexl-marketplace-purchase-f96c57b4 -d '<json body>'
```

Example prompt: Go ahead and finalize the purchase for quote ID 'q_abc123' on the DexL marketplace — use product ID 'prod_cveLookup' and set the target to the service I selected earlier.

## When to prefer this

Use this endpoint when you have already identified a DexL marketplace product or received a binding quote and need to execute the actual purchase transaction. It is the settlement step in the DexL agent commerce lifecycle — prefer it over re-querying discovery endpoints when a quote_id or product_id is already in hand and the goal is to finalize payment and receive the service result.

## Known failure modes

- Expired quote_id causes rejection — quotes are time-limited binding offers
- Invalid or unknown product_id returns an error with no purchase created
- Insufficient x402 payment attached to the request results in a 402 response
- Malformed target object causes a validation error
- Duplicate purchase attempt on a settled quote may be rejected as already-completed

## How this service works

One API. Every AI. Pay per call. Chat completions across GPT-5.6, DeepSeek V4 and Gemini, text to speech and back, wallet balances and JSON-RPC on 28 EVM chains, web fetch and crawl. Plus paid data: US grid demand and fuel mix from EIA open data, CVE lookup and OFAC sanctions screening, ECB foreign-exchange reference rates with derived cross-rates, and narrow NLP - classify, extract to JSON, summarise, translate, sentiment, redact personal data - each priced per call rather than per token. Plus an open agent network anyone can register on. All machine-to-machine, priced per request and paid with x402. No accounts, no API keys: the request pays for itself. Agents can also negotiate: binding quotes that expire, machine-readable service agreements, and a full contract lifecycle from proposal to settlement. Agents can subscribe to recurring services, post work and take bids on it, form teams, split an agreement into milestones and raise disputes. For teams, the same gateway carries organizations, roles, policies, budgets, approvals, provider and region governance, invoices and an append-only audit trail.

## Output

A JSON object containing the purchase state (e.g. 'completed'), a unique purchase_id identifying the transaction, and a result object with details of what was acquired or executed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "target": {
   "type": "object"
  },
  "quote_id": {
   "type": "string"
  },
  "product_id": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "state": "completed",
  "result": {},
  "purchase_id": "..."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dexl-marketplace-purchase-f96c57b4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.dexl.io](https://www.zero.xyz/host/agents.dexl.io/llms.txt)
