# 2s.io Endpoint Search

> 2s.io Endpoint Search is a paid API for AI agents from 2s.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Search the 2s.io endpoint catalog using natural language to discover which API endpoints match a given task or query.

## Facts

- Endpoint: GET https://2s.io/api/search/endpoints
- 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/2s-io-endpoint-search-79532bd7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dDPfEiH63NL_wA04h3vIm

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 2s-io-endpoint-search-79532bd7
```

Example prompt: Search the 2s.io endpoint catalog for APIs that can check if a domain can be spoofed, and show me the top 5 results.

## When to prefer this

Use this endpoint when an AI agent needs to dynamically discover which 2s.io endpoint is best suited for a given task before calling it, or when building a meta-routing layer that maps user intent to specific 2s.io capabilities. Prefer this over hardcoding endpoint paths when the task domain is uncertain.

## Known failure modes

- Missing required query parameter 'q' returns a 400 bad request
- Query with no matching endpoints returns an empty items array with total=0
- Limit out of range (>50 or <1) may return an error or be clamped
- Payment failure via x402 results in a 402 response blocking the call

## How this service works

Find the right 2s endpoint for a task using natural language. Pass q (e.g. 'check if a domain can be spoofed', 'is this CVE being exploited', 'screen a company for sanctions', 'decode a VIN') and get back the catalog's most relevant endpoints, ranked, each with its id, API path, method, group, description, and price. Deterministic keyword + synonym matching over the live endpoint registry (no LLM, no external calls) — a self-routing index so an agent (or its planner) can discover which paid call answers a question instead of reading the whole 290+ endpoint catalog. Returns the path you then call directly.

## Output

Returns a list of matching endpoint objects from the 2s.io catalog, each with an ID, name, path, group, description, HTTP method, price in USD, and a relevance score. Also includes metadata about the query and total matches found.

## 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",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "required": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "description": "Natural-language description of what you want to do."
      },
      "limit": {
       "type": "integer",
       "description": "Max results (1-50, default 10)."
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-io-endpoint-search-79532bd7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
