Ask The Odyssey
by library.forgemesh.io in Search & web
Ask a question about Homer's Odyssey for a tutoring agent, quiz generator, or reading app — get back matching source passages with surrounding context from the text itself, with chapter and location citations. Retrieval only, full-text search over the real text, not a generated summary or answer. No license, no API key required.
https://library.forgemesh.io/ask-the-odyssey- Price
- $0.01
- per call in USDC
- Uptime
- 100%
- last 30 days
- Response time
- 356 ms
- 397 ms slowest 5%
- Last check
- Passed
- 2 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
POST https://library.forgemesh.io/ask-the-odyssey
Each call costs $0.01 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://library.forgemesh.io/ask-the-odyssey
content-type: application/json
{
"limit": 1,
"question": "how does Odysseus escape the Cyclops"
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
limit | integer | No | Max passages (default 5, max 15) |
question | string | Yes | Your question about the book, e.g. "how does Odysseus escape the Cyclops?" |
Example response
The provider's example. We can't check it without paying. Shortened for display.
Example response, 29 lines
{
"author": "Homer",
"book_id": 1727,
"chapter_detection": "heading",
"count": 1,
"location_note": "Chapter values are detected section indices, not guaranteed printed chapter numbers. Section 0 (text before the first detected heading) is excluded.",
"method": "Full-text retrieval with common word variants and surrounding source text; no generated answer or summary. Up to 12 content terms, expanded into word variants, must match a local passage window.",
"passages": [
{
"chapter": 9,
"chunk_end": 295,
"chunk_ids": [
1250697,
1250698,
1250699,
1250700,
1250701
],
"chunk_index": 293,
"chunk_start": 291,
"location": "section 9, passage #291–295",
"source_url": "https://www.gutenberg.org/ebooks/1727",
"text": "“‘My good ram, what is it that makes you the last to leave my cave this morning? You are not wont to let the ewes go before you, but lead the mob with a run whether to flowery mead or bubbling fountain, and are the first to come home again at night; but now you lag last of all. Is it because you know your master has lost his eye, and are sorry because that wicked Noman and his horrid crew has got him down in his drink and blinded him? But I will have his life yet. If you could understand and talk, you would tell me where the wretch is hiding, and I would dash his brains upon the ground till they flew all over the cave. I should thus have some satisfaction for the harm this no-good Noman has done me.’\n\n“As he spoke he drove the ram outside, but when we were a little way out from the cave and yards, I first got from under the ram’s belly, and then freed my comrades; as for the sheep, which were very fat, by constantly heading them in the right direction we managed to drive them down to …"
}
],
"question": "how does Odysseus escape the Cyclops",
"ranking_scope": "Book-local relevance ranking; works over 6000 chunks use up to 300 matching corpus-index candidates before ranking. Matches are evidence to inspect, not verified answers.",
"title": "The Odyssey Rendered into English prose for the use of those who cannot read the original"
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.01.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://library.forgemesh.io/ask-the-odyssey' \
-H 'content-type: application/json' \
--data-raw '{"limit":1,"question":"how does Odysseus escape the Cyclops"}'
# 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://library.forgemesh.io/ask-the-odyssey' \
-H 'content-type: application/json' \
--data-raw '{"limit":1,"question":"how does Odysseus escape the Cyclops"}' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.01 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.01" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.01 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Flibrary.forgemesh.io%2Fask-the-odyssey&method=POST
const res = await pay("https://library.forgemesh.io/ask-the-odyssey", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"limit": 1,
"question": "how does Odysseus escape the Cyclops"
}),
});
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.01 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.01"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.post(
"https://library.forgemesh.io/ask-the-odyssey",
json={
"limit": 1,
"question": "how does Odysseus escape the Cyclops",
},
)
print(res.status_code, res.text)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 |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 383 ms | $0.01 |
| 5 h ago | Passed | 402 | 394 ms | $0.01 |
| 8 h ago | Passed | 402 | 397 ms | $0.01 |
| 12 h ago | Passed | 402 | 146 ms | $0.01 |
| 17 h ago | Passed | 402 | 166 ms | $0.01 |
Show 1 older checks
| 22 h ago | Passed | 402 | 356 ms | $0.01 |