{"uid":"cap_KD1yYyK281Gr2IqyoX7Jt","slug":"aisa-payment-gateway-twitter-advanced-search-6ab344e6","name":"AIsa Payment Gateway - Twitter Advanced Search","description":"Advanced search for tweets. Each page returns up to 20 replies (Sometimes less than 20, because we will filter out ads or other not tweets). Use cursor for pagination.","url":"https://pay.lnpay.ai/twitter/tweet/advanced-search","method":"GET","headers":{},"bodySchema":{"type":"object","required":["query","queryType"],"properties":{"query":{"type":"string","description":"The query to search for. eg. \"AI\" OR \"Twitter\" from:elonmusk since:2021-12-31_23:59:59_UTC"},"cursor":{"type":"string","description":"The cursor to paginate through the results. First page is \"\"."},"queryType":{"enum":["Latest","Top"],"type":"string","description":"The query type to search for. eg. \"Latest\" OR \"Top\". Available options: Latest, Top"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_G660AmeNdHhM3d6qU6F9w","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs advanced search on Twitter/X with pagination, returning up to 20 tweets per page filtered by query and sort type.","exampleAgentPrompt":"Search Twitter for the latest tweets about 'AI' OR 'machine learning' from Elon Musk since 2024-01-01, sorted by Latest — show me the first page of results.","exampleUseCases":null,"resultDescription":"A paginated list of up to 20 tweets matching the advanced search query, with ads and non-tweet content filtered out; includes a cursor value for fetching subsequent pages.","failureModes":["Invalid queryType value (not 'Latest' or 'Top') returns an error","Missing required fields 'query' or 'queryType' causes a 400-level error","Malformed query syntax may return zero results","Expired or invalid cursor causes pagination to fail","Payment failure (insufficient USDC) blocks the request","Twitter API rate limits may cause temporary unavailability"],"whenToPreferThis":"Use this endpoint when you need advanced Twitter search with complex query syntax (e.g. multi-keyword OR queries, from: filters, since: date filters) and require paginated access to either the latest or top tweets, paid via x402 microtransaction protocol.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:45:19.149Z","isFirstParty":false}