75trust / 100

Reddit Voc Runs

by hivemindos-paid-agent-gateway.hivemindos.workers.dev in News & content

x402 APIPassing, checked 4 h ago

Buy a Reddit voice-of-customer snapshot in one x402 call. Pay per report in USDC on Base; the report mines recent Reddit threads and comments on your topic into validated evidence, customer pains, desires, objections, and swipeable phrasing, with a public share URL when complete.

POST
https://hivemindos-paid-agent-gateway.hivemindos.workers.dev/api/x402/reddit-voc/runs
Price
$0.99
per call in USDC
Uptime
100%
last 30 days
Response time
690 ms
1.7 s slowest 5%
Last check
Passed
4 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

POST https://hivemindos-paid-agent-gateway.hivemindos.workers.dev/api/x402/reddit-voc/runs

Each call costs $0.99 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://hivemindos-paid-agent-gateway.hivemindos.workers.dev/api/x402/reddit-voc/runs
content-type: application/json

{
  "subreddits": [
    "SaaS",
    "startups"
  ],
  "topic": "customer support software for SaaS startups"
}

Parameters

ParameterTypeRequiredDescription
competitorsarray of stringNoOptional: one competitor name to track.
lookbackDaysnumberNoOptional lookback window. Defaults to 365. One of: 30, 90, 365.
subredditsarray of stringYes1-2 subreddit names (without r/).
topicstringYesResearch topic or product category to mine Reddit for.

Example response

The provider's example. We can't check it without paying.

{
  "ok": true,
  "priceUsd": 0.99,
  "result": {
    "resultUrl": "https://hivemindos.app/.../shared/?id=...",
    "sessionToken": "<bearer for statusUrl/stepUrl>",
    "statusUrl": "https://.../v1/.../<id>",
    "stepUrl": "https://.../v1/.../<id>/step"
  },
  "runId": "run_...",
  "status": "queued"
}

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.99.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://hivemindos-paid-agent-gateway.hivemindos.workers.dev/api/x402/reddit-voc/runs' \
  -H 'content-type: application/json' \
  --data-raw '{"subreddits":["SaaS","startups"],"topic":"customer support software for SaaS startups"}'

# 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://hivemindos-paid-agent-gateway.hivemindos.workers.dev/api/x402/reddit-voc/runs' \
  -H 'content-type: application/json' \
  --data-raw '{"subreddits":["SaaS","startups"],"topic":"customer support software for SaaS startups"}' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: 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.99 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.99" });
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.99 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fhivemindos-paid-agent-gateway.hivemindos.workers.dev%2Fapi%2Fx402%2Freddit-voc%2Fruns&method=POST
const res = await pay("https://hivemindos-paid-agent-gateway.hivemindos.workers.dev/api/x402/reddit-voc/runs", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "subreddits": [
      "SaaS",
      "startups"
    ],
    "topic": "customer support software for SaaS startups"
  }),
});
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.99 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.99"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://hivemindos-paid-agent-gateway.hivemindos.workers.dev/api/x402/reddit-voc/runs",
        json={
            "subreddits": [
                "SaaS",
                "startups",
            ],
            "topic": "customer support software for SaaS startups",
        },
    )
    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

WhenResultHTTPTimePrice
4 h agoPassed402642 ms$0.99
9 h agoPassed4021.1 s$0.99
14 h agoPassed402366 ms$0.99
19 h agoPassed402347 ms$0.99
24 h agoPassed4021.1 s$0.99
Show 10 older checks
29 h agoPassed402627 ms$0.99
34 h agoPassed402557 ms$0.99
39 h agoPassed402692 ms$0.99
44 h agoPassed4021.1 s$0.99
2 days agoPassed402195 ms$0.99
2 days agoPassed4021.1 s$0.99
2 days agoPassed402587 ms$0.99
3 days agoPassed4021.0 s$0.99
3 days agoPassed402688 ms$0.99
3 days agoPassed4021.4 s$0.99