Intelligence Query
by Historical crypto signals query in Onchain & crypto
Historical crypto signals query: momentum, activity, buying, selling, anomaly and regime per symbol for several symbols over any from/to time range in one paid call; data resolution chosen automatically. Use for history of several signals at once.
https://api.marketintelligenceapi.com/api/v1/intelligence/query- Price
- $0.05
- per call in USDC
- Uptime
- 100%
- last 30 days
- Response time
- 196 ms
- 296 ms slowest 5%
- Last check
- Passed
- 4 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
GET https://api.marketintelligenceapi.com/api/v1/intelligence/query
Each call costs $0.05 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
Built from the input schema. Replace the values with your own.
GET https://api.marketintelligenceapi.com/api/v1/intelligence/query?from=2026-01-01T00%3A00%3A00Z&symbols=example&to=2026-01-01T00%3A00%3A00ZParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
from | string (date-time) | Yes | ISO-8601 UTC start. |
signals | string | No | Subset of signals; all when omitted. |
symbols | string | Yes | Comma-separated symbols, up to 20. |
to | string (date-time) | Yes | ISO-8601 UTC end, after from. |
Example response
The provider's example. We can't check it without paying.
{
"data": [
{
"buying": {
"buyPressure": 54.2,
"dominantSide": "BALANCED",
"sideDataAvailable": true
},
"momentum": {
"priceChangePercent": 0.31,
"score": 57.3,
"signal": "NEUTRAL"
},
"symbol": "BTCUSD"
}
],
"resolution": "1m",
"window": {
"from": "2026-09-23T12:00:00Z",
"to": "2026-09-23T13:00:00Z"
}
}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.05.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://api.marketintelligenceapi.com/api/v1/intelligence/query?from=2026-01-01T00%3A00%3A00Z&symbols=example&to=2026-01-01T00%3A00%3A00Z'
# 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://api.marketintelligenceapi.com/api/v1/intelligence/query?from=2026-01-01T00%3A00%3A00Z&symbols=example&to=2026-01-01T00%3A00%3A00Z' \
| 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.05 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.05" });
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.05 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.marketintelligenceapi.com%2Fapi%2Fv1%2Fintelligence%2Fquery
const res = await pay("https://api.marketintelligenceapi.com/api/v1/intelligence/query?from=2026-01-01T00%3A00%3A00Z&symbols=example&to=2026-01-01T00%3A00%3A00Z");
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.05 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.05"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.get("https://api.marketintelligenceapi.com/api/v1/intelligence/query?from=2026-01-01T00%3A00%3A00Z&symbols=example&to=2026-01-01T00%3A00%3A00Z")
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 | Passed | 402 | 237 ms | $0.05 |
| 8 h ago | Passed | 402 | 167 ms | $0.05 |
| 13 h ago | Passed | 402 | 277 ms | $0.05 |
| 17 h ago | Passed | 402 | 171 ms | $0.05 |
| 22 h ago | Passed | 402 | 137 ms | $0.05 |
Show 10 older checks
| 26 h ago | Passed | 402 | 230 ms | $0.05 |
| 30 h ago | Passed | 402 | 201 ms | $0.05 |
| 34 h ago | Passed | 402 | 256 ms | $0.05 |
| 39 h ago | Passed | 402 | 235 ms | $0.05 |
| 43 h ago | Passed | 402 | 154 ms | $0.05 |
| 47 h ago | Passed | 402 | 156 ms | $0.05 |
| 2 days ago | Passed | 402 | 251 ms | $0.05 |
| 2 days ago | Passed | 402 | 247 ms | $0.05 |
| 3 days ago | Passed | 402 | 208 ms | $0.05 |
| 3 days ago | Passed | 402 | 171 ms | $0.05 |
History
| 16 Oct 2026 | Price on Base changed from 44700 units of 0x60a3E35Cc302bFA44Cb288Bc5a4F316Fdb1adb42 to 44500 units of 0x60a3E35Cc302bFA44Cb288Bc5a4F316Fdb1adb42; Price on eip155:480 changed from 44700 units of 0x1C60ba0A0eD1019e8Eb035E6daF4155A5cE2380B to 44500 units of 0x1C60ba0A0eD1019e8Eb035E6daF4155A5cE2380B |