# Delx Commerce — Open Knowledge Search

> Delx Commerce — Open Knowledge Search is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Searches Wikipedia/Wikimedia open knowledge base and returns attributed snippets for a given query, billed per-result via x402/USDC.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/open-knowledge-search?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-open-knowledge-search-6fd539c6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zNP6rCV-8vFl4g1kMQqy0

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 delx-commerce-open-knowledge-search-6fd539c6 -d '<json body>'
```

Example prompt: Search Wikipedia for 'agentic commerce' and give me up to 5 results with titles, snippets, and source links — I need proper attribution included.

## When to prefer this

Prefer this endpoint when you need quickly attributed, open-licensed encyclopedic content from Wikipedia without requiring a signup or subscription. Ideal for agents that need verifiable, citable knowledge snippets with proper license attribution (CC BY-SA 4.0) billed only per successful call. Choose this over general web search when you specifically want encyclopedic depth and guaranteed attribution metadata rather than broad web results.

## Known failure modes

- Query too short (minLength:1 not met) or too long (maxLength:120 exceeded) — validation error
- Timeout too short or too large (must be 2–8 seconds) — validation error
- Wikipedia/Wikimedia provider unavailable — may return empty results or error
- No matching results found — returns count:0 with empty results array
- Payment failure via x402 protocol — request not processed
- Rate limiting or network timeout within the configured timeout window

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object containing the query scope, provider (Wikimedia/Wikipedia), cache hit/miss status, language, up to 10 results each with URL, title, page ID, and snippet, plus full attribution text, license URL, and provider URL for proper downstream attribution compliance.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "maxLength": 120,
   "minLength": 1
  },
  "timeout": {
   "type": "integer",
   "default": 8,
   "maximum": 8,
   "minimum": 2
  },
  "max_records": {
   "type": "integer",
   "default": 10,
   "maximum": 10,
   "minimum": 1
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "cache": "miss",
   "count": 1,
   "query": "agentic commerce",
   "scope": "open_knowledge",
   "schema": "delx/open-knowledge-search/v1",
   "results": [
    {
     "url": "https://en.wikipedia.org/wiki/Example_topic",
     "title": "Example topic",
     "pageid": 123,
     "snippet": "A short attributed search snippet."
    }
   ],
   "language": "en",
   "provider": "Wikimedia/Wikipedia",
   "attribution": "Search metadata supplied by Wikimedia/Wikipedia; snippets remain under the applicable page licenses. Preserve attribution and the license link.",
   "license_url": "https://creativecommons.org/licenses/by-sa/4.0/",
   "max_records": 3,
   "provider_url": "https://www.wikipedia.org/"
  },
  "tool_name": "search_open_knowledge"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-open-knowledge-search-6fd539c6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
