80trust / 100

Run

by MiroShark in News & content

x402 APIPassing, checked 4 h ago

MiroShark: predict how people and markets react to any scenario - a product launch, policy, campaign, crisis, token launch, or news headline. Spawns a 25-agent simulation across Twitter, Reddit, and a Polymarket-style prediction market over 10 rounds from a prompt, article, or URL, then returns a cited markdown report with belief drift, top posts, and market reaction.

POST https://x402.miroshark.xyz/run

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
692 ms typical, 692 ms slowest 5%
Last check
4 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://x402.miroshark.xyz/run" \
  -H "content-type: application/json" \
  -d '{"agent_context":{"agent_type":"<optional: your agent>","search_query":"<optional>"},"article":"<alternative seed: raw article text>","prediction_market":"<optional: pin a YES/NO market question>","prompt":"How will developers react if OpenAI releases GPT-6 next month?","url":"<alternative seed: an article URL to simulate around>"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402.miroshark.xyz%2Frun
const res = await pay("https://x402.miroshark.xyz/run", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"agent_context":{"agent_type":"<optional: your agent>","search_query":"<optional>"},"article":"<alternative seed: raw article text>","prediction_market":"<optional: pin a YES/NO market question>","prompt":"How will developers react if OpenAI releases GPT-6 next month?","url":"<alternative seed: an article URL to simulate around>"}),
});
console.log(await res.json());

Example input

{
  "agent_context": {
    "agent_type": "<optional: your agent>",
    "search_query": "<optional>"
  },
  "article": "<alternative seed: raw article text>",
  "prediction_market": "<optional: pin a YES/NO market question>",
  "prompt": "How will developers react if OpenAI releases GPT-6 next month?",
  "url": "<alternative seed: an article URL to simulate around>"
}

Example output

{
  "data": {
    "run_id": "run_abc123def456",
    "status": "queued",
    "status_url": "https://<host>/status/run_abc123def456",
    "wait_url": "https://<host>/wait/run_abc123def456"
  },
  "success": true
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
4 h agoPassed402692 ms$1.00