{"uid":"cap_emDm0fQDXUugPq6-_ibD-","slug":"afterimage-search-2f2834b9","name":"AfterImage Search","description":"Search copies AfterImage already fetched. Does not hit the live web. Empty hits: GET /v1/page with the URL.","url":"https://afterimage.page/v1/search","method":"GET","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["q"],"properties":{"q":{"type":"string","description":"Words to find in stored titles and text"},"limit":{"type":"string","description":"Max hits, 1-50"},"max_age_s":{"type":"string","description":"Only copies this many seconds old"}}}},"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_vLel3FhaSSLOJBMfv_o2u","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Search AfterImage's cached corpus of previously fetched web pages by keyword, without hitting the live web.","exampleAgentPrompt":"Search AfterImage's cached page corpus for mentions of 'climate policy' and return up to 10 results from the last 7 days (604800 seconds).","exampleUseCases":[{"title":"Research topic across cached news","prompt":"Search AfterImage's stored page copies for anything mentioning 'interest rate hike' — give me up to 20 results, and only pages cached in the last 24 hours (86400 seconds)."},{"title":"Check cached startup coverage","prompt":"Look through AfterImage's corpus for cached pages that mention 'Anthropic funding round' and return the top 5 results."},{"title":"Monitor cached regulatory content","prompt":"Search AfterImage's fetched page archive for 'EU AI Act compliance' and show me up to 15 hits, no older than 3 days (259200 seconds)."}],"resultDescription":"Returns a list of cached page hits matching the query, each including the page title, text snippet, URL, and timestamp of when AfterImage fetched it. If no hits are found, the caller should fetch the URL fresh using GET /v1/page.","failureModes":["No results returned (empty hits) — page not yet in corpus; resolve by fetching via GET /v1/page","Invalid or missing 'q' parameter causes request failure","'limit' out of range (must be 1–50) causes a validation error","'max_age_s' too restrictive may return no results even when older copies exist","Payment not attached or insufficient USDC causes 402 response"],"whenToPreferThis":"Use this endpoint when you want to search across AfterImage's already-cached web corpus by keyword — it is fast, cheap, and does not make live web requests. Prefer it over a live-fetch endpoint when you want recent copies of multiple pages matching a topic. If results are empty, fall back to GET /v1/page to trigger a live fetch of a specific URL.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:37:36.352Z","isFirstParty":false}