# Agent IA Web Search API

> Agent IA Web Search API is a paid API for AI agents from api.api-agent-ia.ch, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-26).

Performs a real-time web search given a query string and returns a list of relevant results with URLs, titles, and content snippets.

## Facts

- Endpoint: GET https://api.api-agent-ia.ch/recherche-web?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-26
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-ia-web-search-api-5675d625
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3cExGKHbYS-_2EHTXdk5G

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 agent-ia-web-search-api-5675d625
```

Example prompt: Can you search the web for 'latest breakthroughs in quantum computing' and give me the top results with their links and summaries?

## When to prefer this

Choose this endpoint when you need live, real-time web search results with URLs and content snippets, especially within an x402 micropayment-compatible agent workflow on the Base blockchain ecosystem. It is well-suited for agents that need internet access without managing a full browser or scraper, and integrates naturally alongside the other AI/blockchain utilities on this platform.

## Known failure modes

- Missing required 'query' parameter returns a 400 or validation error
- Payment not sent or insufficient USDC causes a 402 Payment Required response
- No results found for obscure or malformed queries returns an empty results array
- Upstream search provider downtime causes a 503 or timeout
- Query string too long or containing unsupported characters may cause a 400 error

## How this service works

Services IA et blockchain pour agents autonomes.

## Output

A JSON array of web search results, each containing a URL, a page title, and a content snippet relevant to the query string.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "query"
     ],
     "properties": {
      "query": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "example": {
   "query": "latest AI news",
   "results": [
    {
     "url": "...",
     "title": "...",
     "content": "..."
    }
   ]
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-ia-web-search-api-5675d625/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.api-agent-ia.ch](https://www.zero.xyz/host/api.api-agent-ia.ch/llms.txt)
