Ask Ethos API
Ask a question about someone's reputation in plain language, and get back a written answer with the reviews, vouches and slashes it rests on. It is the same service that answers on this site and through the Ethos bots.
Start here
Every answer comes from the public record on Ethos Network: reviews people write about each other, vouches (WHUF staked on someone), slashes (accusations that cost score if the community upholds them), and the connections between people.
There is nothing to sign up for. You pay for each answer as you ask for it, in USDC, from any wallet. That goes for people and for software acting on its own: an agent with a wallet can find this service, pay, and get an answer without anyone approving it first.
POST https://ask.ethos.network/x402/ask
{ "question": "is @serpinxbt trustworthy?" }
An answer takes 10 to 60 seconds, because the service looks things up before it writes. It names every source it used, and every answer has a page of its own that you can link to.
If you are an agent, or writing one, /llms.txt has all of this as plain text.
Three ways in
| Way | For | You need |
|---|---|---|
| Pay per request | Everyone. People, products and agents. No sign-up and no approval | A wallet holding USDC on Base |
| AI assistant | Asking from an assistant that uses connectors, paying per call | A wallet the assistant can pay from |
| With a key | Partners, by arrangement. Adds features for bots | A key from the Ethos team |
Start with paying per request. It is open to all, and it is the same answer either way.
Paying per request
Checking whether paid requests are switched on…
The paid routes follow x402, an open standard for paying over HTTP. There is no account and no key.
- You make the request with no payment.
- The reply is
402 Payment Required. ItsPAYMENT-REQUIREDheader says what it costs, in which token, on which network, and to whom. - Your client signs a payment for that amount and makes the request again, with the payment in a header.
- The reply is the answer, with a receipt in the
PAYMENT-RESPONSEheader.
An x402 client library does steps 2 to 4 for you. In JavaScript:
import { wrapFetchWithPaymentFromConfig } from "@x402/fetch";
import { ExactEvmScheme } from "@x402/evm";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.WALLET_KEY);
const pay = wrapFetchWithPaymentFromConfig(fetch, {
schemes: [{ network: "eip155:*", client: new ExactEvmScheme(account) }],
});
const res = await pay("https://ask.ethos.network/x402/ask", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({ question: "is @serpinxbt trustworthy?" }),
});
const answer = await res.json();
console.log(answer.answer.text, answer.url);
GET /x402 is free and returns the current prices, network and receiving address as JSON.
POST /x402/ask
| Field | Required | What it does |
|---|---|---|
question | yes | 2 to 2,000 characters, in plain language |
asker.handle | no | X handle of whoever is asking. Lets "me" and "people I trust" be answered |
history | no | Up to 12 earlier turns, oldest first, for a follow-up question |
The reply is an answer. The request stays open until the answer is ready, so set your client's timeout to two minutes or more.
GET /x402/profile/{handle}
One account's headline numbers, in a second or two.
{
"subject": "cobie",
"name": "Cobie",
"score": 2589,
"level": "revered",
"human_verified": false,
"reviews": { "positive": 711, "neutral": 28, "negative": 0 },
"vouches": { "count": 66, "whuf": "157,785 WHUF", "legacy_eth": { "count": 13, "eth": "0.3970 ETH" } },
"slashes": { "total": 0, "upheld": 0, "open": 0 },
"profile_url": "https://app.ethos.network/profile/x/cobie",
"text": "@cobie has an Ethos score of 2589 (revered), with 711 positive, 28 neutral and 0 negative reviews. 66 vouches worth 157,785 WHUF; never slashed."
}
When you are charged
Your payment is checked before any work is done, and collected only after the work has succeeded.
| What happens | Charged? |
|---|---|
| You get an answer or a profile | Yes |
The request is not valid (400) | No. It is refused before payment is asked for |
The account is not known to Ethos (404) | No |
The service fails or is busy (5xx) | No |
An answer that says the record holds nothing about someone is still an answer, and is charged. Finding nothing is a finding.
Connect an AI assistant
Ask Ethos is also a connector for AI assistants, using the Model Context Protocol. An assistant that connects gets two tools:
| Tool | What it does |
|---|---|
ask_ethos | Answers a question about reputation, with sources. Takes question and, optionally, asker_handle |
ethos_profile | One account's headline numbers. Takes handle |
The address is https://ask.ethos.network/mcp. Each call is paid for through x402, at the same prices as the paid routes, and a call that fails is not charged. The assistant's client has to be able to pay; @x402/mcp provides one:
import { createx402MCPClient } from "@x402/mcp";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";
const client = createx402MCPClient({
name: "my-agent", version: "1.0.0",
schemes: [{ network: "eip155:8453", client: new ExactEvmScheme(account) }],
autoPayment: true,
});
await client.connect(new StreamableHTTPClientTransport(new URL("https://ask.ethos.network/mcp")));
const result = await client.callTool("ask_ethos", { question: "is @serpinxbt trustworthy?" });
Someone who holds a key can send it as a bearer token instead. Calls are then counted against the key, and nothing is paid.
{
"mcpServers": {
"ask-ethos": {
"type": "http",
"url": "https://ask.ethos.network/mcp",
"headers": { "Authorization": "Bearer ask_..." }
}
}
}
With a key
Most callers do not need a key. Paying per request gives the same answers with no arrangement to make. Keys are for partners of Ethos, and they add what a bot needs: a check for whether a post is a question at all, replies cut to fit a platform, background questions and webhooks.
A key starts ask_ and goes in the Authorization header as a bearer token. Keep it on your server; anyone who has it can spend its allowance.
curl -X POST https://ask.ethos.network/v1/ask \
-H "Authorization: Bearer ask_..." \
-H "Content-Type: application/json" \
-d '{"question": "is @serpinxbt trustworthy?"}'
| Limit | Default | Counts |
|---|---|---|
| Per minute | 20 | Questions from this key |
| Per day | 2,000 | Questions from this key |
| Per person, per hour | 10 | Questions from one asker.handle |
Every reply carries x-ratelimit-limit, x-ratelimit-remaining, x-ratelimit-reset and x-ratelimit-scope. A request that is turned away does not use up any allowance.
POST /v1/ask
| Field | What it does |
|---|---|
question | Required. 2 to 2,000 characters |
asker.handle | X handle of whoever is asking. Applies the per-person limit, and lets "me" be answered |
history | Up to 12 earlier turns, oldest first |
quick_facts | When the question is about one account's standing, also return its headline numbers |
short | Also write a summary short enough to post. See Replies ready to post |
only_if_question | Check first that this is a question at all. See Questions from bots |
context | bot_handle and replied_to, for posts from a social platform |
async | Return at once with a job to check on |
callback_url | Receive the finished answer as a signed POST |
idempotency_key | The same key returns the same answer and costs nothing. Use the id of the post or message |
Questions from bots
On a website, whatever someone types is a question. On a social platform most posts that mention a bot are not: they are thanks, banter, or talk between other people. Send the raw post with only_if_question: true and let the service decide.
{
"question": "@ethos_network has this account ever been slashed?",
"asker": { "handle": "brian_armstrong" },
"context": { "bot_handle": "ethos_network", "replied_to": "TroveMarkets" },
"only_if_question": true,
"quick_facts": true,
"idempotency_key": "x:1790570000"
}
A post that is not a question comes back in about a second, and nothing is counted against your limits:
{ "status": "skipped", "category": "chatter", "reason": "No question asked" }
The categories are chatter, not_for_the_bot, off_topic, other_command and unclear. The check leans toward silence: when it is unsure, the post is skipped.
A question that passes is rewritten to stand alone. "Has this account ever been slashed?" in a reply to @TroveMarkets becomes "has @TroveMarkets ever been slashed?", and "me" becomes the asker's handle.
Replies ready to post
With short, the answer also comes as a post that fits the platform's limit, link included, in answer.post.
| Field | What it does |
|---|---|
short.max_chars | The longest the post may be. Default 280 |
short.include_link | End with the link to the full answer. Default true |
short.link_length | How many characters the platform counts a link as. X counts every link as 23 |
short.lead_with_facts | With quick_facts, open the post with a line of the account's headline numbers |
short.profile_card | With max_chars of 400 or more, link the account's profile first, so it is the link X draws as a card |
@TroveMarkets: score 304 (untrusted) · 0 positive, 52 negative reviews · slashed once, upheld
https://app.ethos.network/profile/x/TroveMarkets
Full answer, or ask more: https://ask.ethos.network/a/521r116e1b23200v4d1i5j24
An upheld slash with strong community support calls Trove an elaborate scam. Dozens of reviews allege ...
Headline numbers appear only when the question is about one account's standing. "Has @alice vouched for me yet?" is about something between two people, and gets none.
Background and webhooks
With async: true the reply is 202, at once. If you asked for quick_facts they come with it, so a bot can say something while the answer is written. Working them out takes several seconds; with defer_quick_facts: true the 202 doesn't wait for them, and a poll of the job shows them once they are ready.
{ "id": "job_431d19a616e24426b71dfa1b", "status": "pending",
"poll_url": "https://ask.ethos.network/v1/jobs/job_431d19a616e24426b71dfa1b" }
GET /v1/jobs/{id} returns 202 while the status is pending or working, then 200 with the answer. A job that failed returns 200 with status: "failed" and an error. Jobs are kept for seven days.
With callback_url, the finished answer is sent to you as a POST. It carries x-ask-ethos-signature: sha256=…, an HMAC-SHA256 of the exact body, keyed with the webhook secret that came with your key. Check it before you trust the body.
import { createHmac, timingSafeEqual } from "node:crypto";
function genuine(rawBody, header, secret) {
const expected = "sha256=" + createHmac("sha256", secret).update(rawBody).digest("hex");
return header.length === expected.length && timingSafeEqual(Buffer.from(header), Buffer.from(expected));
}
Other routes
| Route | What it does |
|---|---|
| POST /v1/triage | Runs only the check for whether a post is a question. Takes text, asker, context |
| GET /v1/jobs/{id} | The state of a background question |
| GET /v1/answers/{id} | An answer given earlier. Kept for 180 days |
| GET /v1/users/{handle} | An account's score, level and review counts |
| GET /v1/openapi.json | The API as an OpenAPI document. Needs no key |
An answer
{
"id": "5e2l1o0m5e6r4r6f6v6u5t48",
"status": "done",
"url": "https://ask.ethos.network/a/5e2l1o0m5e6r4r6f6v6u5t48",
"card_url": "https://ask.ethos.network/og/a/5e2l1o0m5e6r4r6f6v6u5t48.png",
"question": "has @TroveMarkets ever been slashed?",
"answer": {
"text": "Yes, once. @serpinxbt slashed @TroveMarkets on 2026-01-18 and the community upheld it [1] ...",
"plain": "Yes, once. @serpinxbt slashed @TroveMarkets on 2026-01-18 and the community upheld it ..."
},
"sources": [
{ "n": 1, "kind": "slash", "sentiment": "negative",
"label": "@serpinxbt slashed @TroveMarkets · upheld",
"url": "https://app.ethos.network/activity/slash/352",
"date": "2026-01-18", "upvotes": 935, "downvotes": 0, "author_score": 2000 }
],
"followups": ["Who lost score for backing TroveMarkets?"],
"model": "claude-opus-5-5",
"seconds": 14,
"created_at": "2026-09-28T16:04:11.000Z"
}
| Field | What it holds |
|---|---|
url | The answer as a page, with its sources. Share this |
answer.text | The answer in Markdown, with source markers like [1] |
answer.plain | The same, without markers or emphasis |
answer.short, answer.post | The summary, and the summary ready to post. Only with short |
sources | Only what the answer cites, numbered in order of first mention. A source of kind query is a count taken from the whole record, and has no link |
quick_facts | The account's headline numbers. Only when asked for, and when the question is about one account |
followups | Questions someone is likely to ask next |
Naming people
- Use X handles. Ethos knows people by their X account, so
@nameis exact. - A bare name is matched, not looked up. "serpin" is taken to mean the account people most likely mean, judged by how well the name fits, how much the account has on record, and whether the asker knows them. The answer says who it took the name to mean. When several accounts fit equally well, it says so and lists them.
- Scores are written without a separator, as Ethos shows them: 2000, not 2,000.
- Vouches are counted in WHUF. Vouches made in ETH under the first contract are reported apart, as history.
Errors
An error is JSON, with a code to act on and a message to read.
{ "error": { "code": "rate_limited", "message": "Too many questions for this asker. Try again in 840 seconds.",
"scope": "asker", "retry_after": 840 } }
| Status | Code | What to do |
|---|---|---|
| 400 | invalid_request | Fix the request. issues names each field and its problem |
| 401 | unauthorized | Send a valid key |
| 402 | Pay and ask again. Paid routes only | |
| 404 | not_found | No such job, answer or account |
| 429 | rate_limited | Wait retry_after seconds. scope says whether the key or the asker is over |
| 502 | answer_failed, no_answer | Ask again |
| 503 | model_busy, model_unreachable | Ask again shortly. With an idempotency_key that is safe |
Using answers with care
- An answer reports what the record shows. A review is one person's account of another. An accusation in a review is a claim; only a slash that the community upheld has been tested.
- Keep the sources with the answer. If you show an answer, show its link, so that a reader can check it.
- Answers are written by a model. It can misread. The sources are there so that it can be caught.
- The record is a few minutes behind. Something that happened moments ago may not be in it yet.