{"uid":"cap_m0tsifSd1RVEeOC1J-fRH","slug":"x402-bazaar-price-threshold-alert-3242c864","name":"x402 Bazaar Price-Threshold Alert","description":"Pay once to register a price-threshold alert on any Base token. Supply target price, direction (above/below), and an https webhook URL. A polling cron (daily by default; configurable to ~minutes) checks DexScreener and POSTs your webhook when it crosses. Expires after 30 days. Paid via x402: $0.05 in USDC on Base (eip155:8453) to 0x973a31858f4d2125f48c880542da11a2796f12d6. Returns 402 with payment requirements; pay and retry.","url":"https://api.relai.fi/relay/1782567677091/api/x402/price-alert?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"pathParams":{"type":"object"},"queryParams":{"type":"object","required":["token","threshold","direction"],"properties":{"check":{"type":"string","description":"Or: alert id to poll its status"},"token":{"type":"string","description":"Token address"},"webhook":{"type":"string","description":"Webhook URL (optional — omit to poll)"},"direction":{"type":"string","description":"Direction (above/below)"},"threshold":{"type":"string","description":"Price threshold (USD)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ADnfaipa2kh5Th028_3Yi","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Registers a price-threshold alert on a Base token that polls DexScreener and POSTs a webhook when the price crosses the target, paid via x402 USDC.","exampleAgentPrompt":"Set a price alert for the Base token at 0xABC...123 to fire my webhook at https://myapp.com/hook when the price goes above $0.05 — poll every 10 minutes.","exampleUseCases":null,"resultDescription":"Returns a confirmation that the alert has been registered, including the alert ID, expiry date (30 days from creation), polling interval, and the webhook URL that will be called when the threshold is crossed. If payment has not been made, returns HTTP 402 with USDC payment requirements on Base.","failureModes":["HTTP 402 returned if x402 USDC payment not yet made — requires paying $0.05 USDC to the specified address and retrying","Invalid or non-HTTPS webhook URL rejected","Token contract address not found on DexScreener / not traded on Base","Polling interval too frequent may be rejected or rate-limited","Alert expires after 30 days without renewal","Webhook endpoint unreachable when alert fires causes silent failure"],"whenToPreferThis":"Use this endpoint when you need a one-time, pay-per-use price alert on a Base chain token with webhook delivery and no ongoing subscription. Ideal for agents automating DeFi workflows that need to react to price crossings without maintaining their own polling infrastructure. Prefer over manual polling when you want set-and-forget monitoring with a fixed cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T06:42:50.369Z","isFirstParty":false,"canonicalSlug":"x402-bazaar-price-threshold-alert-3242c864"}