15trust / 100

Prices Spot

by Crypto Prices (Chainlink) in Onchain & crypto

x402 APIFailing, checked 2 h ago

Live Chainlink oracle spot price for a pair (latestRoundData, on-chain)

GET https://x402.professorsausages.com/prices/spot/:pair

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
0.0%
Response time
- typical, - slowest 5%
Last check
2 h ago: Expected HTTP 402, got 400
Next check
any minute now

How to call it

# bash or zsh: see the payment challenge (nothing is charged)
curl -g -i -X GET 'https://x402.professorsausages.com/prices/spot/:pair?chain=Feed+chain+override%3A+eth%28ereum%29+%7C+base.+Defaults+to+the+pair%27s+primary+chain.'
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.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402.professorsausages.com%2Fprices%2Fspot%2F%3Apair
const res = await pay("https://x402.professorsausages.com/prices/spot/:pair?chain=Feed+chain+override%3A+eth%28ereum%29+%7C+base.+Defaults+to+the+pair%27s+primary+chain.");
console.log(await res.json());

Example input

{
  "chain": "Feed chain override: eth(ereum) | base. Defaults to the pair's primary chain."
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoExpected HTTP 402, got 400400150 ms-
6 h agoExpected HTTP 402, got 400400337 ms-
11 h agoExpected HTTP 402, got 400400123 ms-
15 h agoExpected HTTP 402, got 400400467 ms-
20 h agoExpected HTTP 402, got 400400601 ms-
23 h agoExpected HTTP 402, got 400400157 ms-
27 h agoExpected HTTP 402, got 400400363 ms-
31 h agoExpected HTTP 402, got 400400128 ms-
36 h agoExpected HTTP 402, got 400400173 ms-
40 h agoExpected HTTP 402, got 400400389 ms-
44 h agoExpected HTTP 402, got 400400651 ms-
2 days agoExpected HTTP 402, got 400400442 ms-
2 days agoExpected HTTP 402, got 400400306 ms-
2 days agoExpected HTTP 402, got 400400119 ms-
3 days agoExpected HTTP 402, got 40040052 ms-