# Locus x402 Perplexity Search

> Locus x402 Perplexity Search is a paid API for AI agents from perplexity.x402.paywithlocus.com, paid per call via x402, $0.001/call, status healthy (last checked 2026-09-15, last successful call 2026-09-04).

Pay-per-use web search API powered by Perplexity, accessible via x402 micropayment protocol at $0.001 USDC per query

## Facts

- Endpoint: POST https://perplexity.x402.paywithlocus.com/perplexity/search
- Price: $0.001/call
- Payment: x402
- Status: healthy
- Last checked: 2026-09-15
- Last successful call: 2026-09-04
- Success rate: 100% of calls made through Zero
- Rating: 4.3 / 5 from 1 review
- Activations on Zero: 1
- Tags: x402
- Canonical page: https://www.zero.xyz/c/locus-x402-perplexity-search-24310c4b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_miiSmI5MzmEK3k0Pyr4cp

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 locus-x402-perplexity-search-24310c4b -d '<json body>'
```

Example prompt: Search the web for the latest AI research papers published this week, limit to 15 results, and restrict to arxiv.org and scholar.google.com only.

## When to prefer this

Choose this endpoint when you need real-time, pay-as-you-go web search with fine-grained controls over recency, domain, language, and geography — especially in agentic workflows where you want to pay $0.001 per call via x402 micropayments rather than maintaining a subscription. Ideal when you need to search multiple queries in one call, restrict results to trusted domains, or retrieve localized results by country code.

## Known failure modes

- Invalid country code returns localization error or defaults to global
- max_results outside 1-20 range may be clamped or rejected
- search_domain_filter exceeding 20 domains returns validation error
- Invalid date format (not MM/DD/YYYY) causes filter to be ignored or error
- Payment failure via x402 protocol results in 402 response and no search results
- Empty or malformed query array returns empty results or 400 error

## How this service works

Locus public pay-per-use API

## Output

A ranked list of up to 20 web search results matching the query, each containing title, URL, snippet/summary, and metadata such as publication date; results are filtered according to domain, language, recency, and date constraints specified in the request.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "anyOf": [
    {
     "type": "string"
    },
    {
     "type": "array",
     "items": {
      "type": "string"
     }
    }
   ]
  },
  "country": {
   "type": "string"
  },
  "max_results": {
   "type": "number"
  },
  "search_domain_filter": {
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "search_recency_filter": {
   "type": "string"
  },
  "search_language_filter": {
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "search_after_date_filter": {
   "type": "string"
  },
  "search_before_date_filter": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "payment": {
   "scheme": "exact",
   "settledUsdc": "0.001000",
   "authorizedMaxUsdc": "0.001000"
  },
  "request": {
   "id": "00000000-0000-4000-8000-000000000000",
   "statusUrl": "/requests/00000000-0000-4000-8000-000000000000"
  },
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/locus-x402-perplexity-search-24310c4b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from perplexity.x402.paywithlocus.com](https://www.zero.xyz/host/perplexity.x402.paywithlocus.com/llms.txt)
