71trust / 100
Perplexity Chat
by Locus x402 Services in Other
x402 APIPassing, checked 4 h ago
Locus public pay-per-use API
POST
https://perplexity.x402.paywithlocus.com/perplexity/chat- Price
- $0.153
- per call in USDC
- Uptime
- 100%
- last 30 days
- Response time
- 835 ms
- 922 ms slowest 5%
- Last check
- Passed
- 4 h ago, next any minute now
Reliability
All checks passedSome failedAll failedNot checked
Status and outage history · Atom feed · Watch with other listings
How to call it
POST https://perplexity.x402.paywithlocus.com/perplexity/chat
Each call costs $0.15295 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
POST https://perplexity.x402.paywithlocus.com/perplexity/chat
content-type: application/json
{
"max_tokens": 128,
"messages": [
{
"content": "Reply with exactly the word PONG.",
"role": "user"
}
],
"model": "sonar"
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
max_tokens | number | Yes | |
messages | array of object | Yes | |
model | string | Yes | |
reasoning_effort | string | No | |
response_format | object | No | |
return_images | boolean | No | |
return_related_questions | boolean | No | |
search_domain_filter | array of string | No | |
search_language_filter | array of string | No | |
search_recency_filter | string | No | |
temperature | number | No | |
top_p | number | No | |
web_search_options | object | No |
Example response
The listing has no example response.
Call it from code
The curl command shows the payment challenge.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://perplexity.x402.paywithlocus.com/perplexity/chat' \
-H 'content-type: application/json' \
--data-raw '{"max_tokens":128,"messages":[{"content":"Reply with exactly the word PONG.","role":"user"}],"model":"sonar"}'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://perplexity.x402.paywithlocus.com/perplexity/chat' \
-H 'content-type: application/json' \
--data-raw '{"max_tokens":128,"messages":[{"content":"Reply with exactly the word PONG.","role":"user"}],"model":"sonar"}' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeWe don't show code that pays this service: it uses a payment scheme other than exact, which needs a different client setup.
Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 4 h ago | Passed | 402 | 810 ms | $0.153 |
| 11 h ago | Passed | 402 | 769 ms | $0.153 |
| 18 h ago | Passed | 402 | 819 ms | $0.153 |
| 24 h ago | Passed | 402 | 880 ms | $0.153 |
| 31 h ago | Passed | 402 | 822 ms | $0.153 |
Show 10 older checks
| 37 h ago | Passed | 402 | 847 ms | $0.153 |
| 44 h ago | Passed | 402 | 914 ms | $0.153 |
| 2 days ago | Passed | 402 | 864 ms | $0.153 |
| 2 days ago | Passed | 402 | 920 ms | $0.153 |
| 3 days ago | Passed | 402 | 920 ms | $0.153 |
| 3 days ago | Passed | 402 | 871 ms | $0.153 |
| 3 days ago | Passed | 402 | 897 ms | $0.153 |
| 3 days ago | Passed | 402 | 913 ms | $0.153 |
| 3 days ago | Passed | 402 | 879 ms | $0.153 |
| 4 days ago | Passed | 402 | 869 ms | $0.153 |