Discourse Split
by Horizon Pulse in News & content
Online discourse sample, NOT a poll. Use to see how public Hacker News and Bluesky posts split on a question. GET with required q; optional sides (2-4, default yes,no), window (1-30d). Returns JSON: per-side share with 95% interval and n, counts per source, links only (no text or usernames; Bluesky links include the account's public ID, DID), caveats. Refuses elections, health and a named person's conduct. Under 30 decided posts, refusals and errors: not charged.
https://horizonpulse.dev/api/discourse/split- Price
- $0.03
- per call in USDC
- Uptime
- 7.7%
- last 30 days
- Response time
- 304 ms
- 304 ms slowest 5%
- Last check
- Failed
- 4 h ago, next any minute now
Reliability
Latest check failed 4 h ago: Amount "0.03" is not in atomic token units
Status and outage history · Atom feed · Watch with other listings
How to call it
GET https://horizonpulse.dev/api/discourse/split
Each call costs $0.03 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.
GET https://horizonpulse.dev/api/discourse/split?q=tabs+or+spaces+for+indentation&sides=tabs%2CspacesParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
q | string | Yes | Question or topic, 3-200 chars (required). Elections/candidates, health, and a named person's conduct are refused (not charged). |
sides | string | No | 2-4 comma-separated side labels (default yes,no). |
window | string | No | Look-back window 1-30 days, e.g. 7d (default 30d). |
Example response
The provider's example. We can't check it without paying.
Example response, 51 lines
{
"asOf": "2026-10-13T05:00:00.000Z",
"cached": false,
"caveats": [
"Not a poll: self-selected posters on two tech-leaning, US-heavy networks; not representative of any population.",
"Keyword search misses posts that use other words and can include off-topic posts.",
"Bots, coordinated posting and brigading can move the numbers; one-vote-per-account and per-thread caps only reduce this.",
"Stance labels come from an automated classifier and are sometimes wrong (sarcasm, quotes, negation)."
],
"classifier": "none (illustrative)",
"illustrative": true,
"label": "online discourse sample, NOT a poll",
"method": "Keyword search of public Hacker News comments (Algolia) and Bluesky posts within the window; one post per account, at most 10 per thread; each post (truncated to 280 chars, never returned) is labeled with one side or neutral by a stance classifier; shares are over decided posts with Wilson 95% intervals. Deleted links are removed from the sample, also when a cached answer is served (shares and n are not recomputed).",
"n_classified": 84,
"n_fetched": 145,
"n_neutral": 61,
"note": "Format sample only: counts are illustrative, NOT measured. No stance classifier is configured on this server yet, so no real answer has been recorded; this sample will be replaced by a real recording. No post text or usernames are ever returned.",
"ok": true,
"question": "tabs or spaces for indentation",
"sample": [],
"sides": [
{
"ci95": [
0.3171,
0.5235
],
"label": "tabs",
"n": 35,
"share": 0.4167
},
{
"ci95": [
0.4765,
0.6829
],
"label": "spaces",
"n": 49,
"share": 0.5833
}
],
"source": "discourse-split",
"sources": {
"bsky": 32,
"hn": 52
},
"window": {
"days": 30,
"from": "2026-09-13T05:00:00.000Z",
"to": "2026-10-13T05:00:00.000Z"
}
}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.03.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://horizonpulse.dev/api/discourse/split?q=tabs+or+spaces+for+indentation&sides=tabs%2Cspaces'
# 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 - 'https://horizonpulse.dev/api/discourse/split?q=tabs+or+spaces+for+indentation&sides=tabs%2Cspaces' \
| 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.03 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.03" });
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.03 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fhorizonpulse.dev%2Fapi%2Fdiscourse%2Fsplit
const res = await pay("https://horizonpulse.dev/api/discourse/split?q=tabs+or+spaces+for+indentation&sides=tabs%2Cspaces");
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.03 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.03"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.get("https://horizonpulse.dev/api/discourse/split?q=tabs+or+spaces+for+indentation&sides=tabs%2Cspaces")
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 |
|---|---|---|---|---|
| 4 h ago | Amount "0.03" is not in atomic token units | 402 | 424 ms | $0.03 |
| 9 h ago | Amount "0.03" is not in atomic token units | 402 | 278 ms | $0.03 |
| 13 h ago | Amount "0.03" is not in atomic token units | 402 | 222 ms | $0.03 |
| 17 h ago | Passed | 402 | 304 ms | $0.03 |
| 22 h ago | Amount "0.03" is not in atomic token units | 402 | 261 ms | $0.03 |
Show 8 older checks
| 26 h ago | Amount "0.03" is not in atomic token units | 402 | 365 ms | $0.03 |
| 31 h ago | Amount "0.03" is not in atomic token units | 402 | 341 ms | $0.03 |
| 36 h ago | Amount "0.03" is not in atomic token units | 402 | 245 ms | $0.03 |
| 41 h ago | Amount "0.03" is not in atomic token units | 402 | 252 ms | $0.03 |
| 45 h ago | Amount "0.03" is not in atomic token units | 402 | 464 ms | $0.03 |
| 2 days ago | Amount "0.03" is not in atomic token units | 402 | 255 ms | $0.03 |
| 2 days ago | Amount "0.03" is not in atomic token units | 402 | 277 ms | $0.03 |
| 3 days ago | Amount "0.03" is not in atomic token units | 402 | 576 ms | $0.03 |