79trust / 100

Markets Search

by quotient-api-gateway.onrender.com in Search & web

x402 APIPassing, checked 2 h ago

Use this to search market titles plus the latest Q summary for a shortlist of recent, open contracts. Returns 10 results by default, at most 20. Use direct topic keywords. Useful alternate angles may use focused searches within a 10-second discovery budget. On a timeout, return candidates already found instead of retrying. Use explicit as_of only for historical questions. Search does not expand graph relationships or run embedding search.

GET
https://quotient-api-gateway.onrender.com/api/v1/markets/search
Price
$0.01
per call in USDC
Uptime
100%
last 30 days
Response time
423 ms
2.6 s slowest 5%
Last check
Passed
2 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

GET https://quotient-api-gateway.onrender.com/api/v1/markets/search

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.

GET https://quotient-api-gateway.onrender.com/api/v1/markets/search?group_by=event&q=oil+supply+disruption

Parameters

ParameterTypeRequiredDescription
as_ofstringNo
categoryarray of stringNo
group_bystringNo One of: market, event. Default: "market".
limitintegerNo Default: 10.
max_forecast_ageintegerNo Default: 168.
qstringNo
tagarray of stringNo
venuestringNoPrediction-market venue key: polymarket (Polymarket International), polymarket_us (Polymarket US), kalshi, or hl_outcomes (HL Outcomes, Hyperliquid's outcome markets; covered sports game-winner markets only). HL Outcomes marketKeys contain # (hl_outcomes:#<outcome id>); percent-encode it as %23 in … One of: polymarket, polymarket_us, kalshi, hl_outcomes.

Example response

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

Example response, 75 lines
{
  "as_of": "2026-08-11T23:59:59.999Z",
  "events": [],
  "facets": {
    "categories": [],
    "tags": [
      {
        "count": 1,
        "value": "oil"
      }
    ]
  },
  "group_by": "event",
  "historical": true,
  "markets": [
    {
      "categories": [],
      "event": {
        "id": "e1",
        "slug": "hormuz-traffic",
        "title": "Strait of Hormuz traffic"
      },
      "forecast_at": "2026-08-11T20:14:03Z",
      "has_forecast": true,
      "has_published_signal": false,
      "latest_q_probability": 0.57,
      "marketKey": "polymarket:123",
      "marketUrl": "https://polymarket.com/event/hormuz-traffic",
      "market_odds": 0.42,
      "market_odds_at_forecast": 0.4,
      "nativeEventId": "e1",
      "nativeMarketId": "123",
      "published_signal_count": 0,
      "question": "Will Strait of Hormuz traffic be restored by September?",
      "quotientMarketId": "123",
      "relevance": {
        "matched_by": [
          "graph"
        ],
        "matched_fields": [
          "summary"
        ],
        "score": 0.0503
      },
      "seriesTicker": null,
      "slug": "strait-of-hormuz-traffic-restored-by-september",
      "sourceUrl": "https://gamma-api.polymarket.com/markets/123",
      "tags": [
        "oil",
        "Strait of Hormuz"
      ],
      "thesis": "Q expects traffic normalization to remain constrained through the cutoff.",
      "venue": "polymarket",
      "venue_quote": {
        "freshness": "verified",
        "market_id": "123",
        "observed_at": "2026-08-31T12:00:00Z",
        "quote_method": "midpoint",
        "schema_version": "1",
        "selected_probability": 0.42,
        "venue": "polymarket",
        "venue_timestamp": "2026-08-31T12:00:00Z",
        "yes_ask": 0.42,
        "yes_bid": 0.42,
        "yes_last": null
      }
    }
  ],
  "query": "oil supply disruption",
  "retrieval": {
    "graph": "ok",
    "semantic": "unconfigured",
    "typesense": "unconfigured"
  }
}

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 'https://quotient-api-gateway.onrender.com/api/v1/markets/search?group_by=event&q=oil+supply+disruption'

# 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://quotient-api-gateway.onrender.com/api/v1/markets/search?group_by=event&q=oil+supply+disruption' \
  | 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.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%2Fquotient-api-gateway.onrender.com%2Fapi%2Fv1%2Fmarkets%2Fsearch
const res = await pay("https://quotient-api-gateway.onrender.com/api/v1/markets/search?group_by=event&q=oil+supply+disruption");
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.get("https://quotient-api-gateway.onrender.com/api/v1/markets/search?group_by=event&q=oil+supply+disruption")
    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
2 h agoPassed402358 ms$0.01
7 h agoPassed402339 ms$0.01
11 h agoPassed402359 ms$0.01
16 h agoPassed402764 ms$0.01
21 h agoPassed402686 ms$0.01
Show 10 older checks
25 h agoPassed402290 ms$0.01
30 h agoPassed402391 ms$0.01
34 h agoPassed402853 ms$0.01
38 h agoPassed402424 ms$0.01
42 h agoPassed402916 ms$0.01
47 h agoPassed402321 ms$0.01
2 days agoPassed402326 ms$0.01
2 days agoPassed402396 ms$0.01
2 days agoPassed402404 ms$0.01
3 days agoPassed402423 ms$0.01