# Delx Commerce — GDELT Query Normalizer

> Delx Commerce — GDELT Query Normalizer 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).

Normalizes a raw search query string into a clean, canonical form suitable for GDELT news event database queries

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/gdelt-query-normalize?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-gdelt-query-normalizer-fd5e1887
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tPbIt_Dw7PsALr0lEUT5n

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-gdelt-query-normalizer-fd5e1887 -d '<json body>'
```

Example prompt: Normalize the query 'bitcoin ETF approval' so it's clean and ready to use in a GDELT news search.

## When to prefer this

Use this endpoint before submitting any user-generated or raw text query to the GDELT global news event database. It ensures queries are clean, canonical, and properly formatted for GDELT's search syntax, reducing failed or low-quality lookups. Prefer this over manual preprocessing when integrating GDELT querying into agent workflows.

## Known failure modes

- Empty or missing 'q' parameter returns an error
- Query string too long or malformed may return normalization failure
- Network or payment failure via x402 protocol results in no response
- Ambiguous queries may normalize to an unexpected canonical form

## 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 a schema identifier ('delx/util-gdelt-query-normalize/v1') and a normalized query string (e.g. 'Bitcoin ETF') suitable for use in GDELT event database queries.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "q": {
   "type": "string",
   "description": "Search query string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "schema": "delx/util-gdelt-query-normalize/v1",
  "normalized": "Bitcoin ETF"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-gdelt-query-normalizer-fd5e1887/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)
