{"openapi":"3.1.0","info":{"title":"Munition API — proxy","version":"0.0.14","description":"Munition provides pay-per-call file sharing, HTML to PDF conversion, web search, page content extraction and flight data for AI agents. Upload a report or image and share its public download link; turn self-contained HTML into an A4 PDF; search and read web sources with Exa, Firecrawl and Serper. Direct HTTP services use USDC payments. The local @munition/mcp adapter supports files and flights; PDF and web research are HTTP-only.","x-guidance":"Munition provides USDC-paid x402/MPP services and free public tools for AI agents. Pay-per-call routes settle in stablecoin USDC via x402 on Base/Polygon/Arbitrum/Solana, or MPP on Base/Polygon/Arbitrum (Solana is x402 only); no API key or signup is required for direct x402 routes. Fetch /llms.txt for the full agent guide.\n\n## Which route to call\n- Web search: POST /v1/exa/search (0.01 USDC, neural, best for research questions and finding sources; add contents.text to get page text in the same call). For Google-style results with snippets use POST /v1/serper/search (0.004 USDC).\n- Read a page: POST /v1/firecrawl/scrape (0.015 USDC, renders JavaScript, returns markdown; use when a plain fetch returns empty, JS-only or 403). For many URLs cheaply use POST /v1/exa/contents (0.002 USDC for up to 20 URLs from Exa's cache).\n- Direct answer with citations: POST /v1/exa/answer (0.01 USDC).\n- Related pages / competitors of a URL: POST /v1/exa/find-similar (0.01 USDC).\n- News, images, products: POST /v1/serper/news, /v1/serper/images, /v1/serper/shopping (0.004 USDC each; country gl and language hl selectable).\n- Search + full content of each result in one call: POST /v1/firecrawl/search (0.03 USDC).\n- Deliver a file to a human: POST /v1/render/pdf (0.02 USDC, self-contained HTML → PDF link) or POST /v1/uploads (0.005 USDC, presigned upload slot → public link, 7 days).\n- Travel: POST /v1/flights/search (0.05 USDC), GET /v1/flights/offers/{id} (0.01 USDC), POST /v1/airports/search (0.001 USDC).\n- External flight search links: POST /v1/tools/flight-booking-links (free, no authentication or payment). Pass origin, destination, departureDate and optional returnDate to receive KAYAK and Kiwi.com search URLs. These start new searches and do not reserve a flight or guarantee a fare.\n\n## Calling convention for paid routes\n1. POST with a JSON body and no payment header → 402 with PAYMENT-REQUIRED (accepts[] with exact atomic amounts) and the Bazaar input/output schema.\n2. Sign and retry with PAYMENT-SIGNATURE. Send Idempotency-Key: replays return the stored result without a second charge.\n3. 400 = input rejected before any payment. 422/502 after payment = upstream provider failed; the response carries paidCallId for reconciliation, do not pay again blindly.\nAll paid-route prices are fixed per call and listed at /v1/tools/prices. The free flight-booking-links route accepts JSON directly and returns 200 on success or 400 for invalid input; no payment headers or Idempotency-Key are required.","contact":{"name":"Munition","email":"hello@munition.io","url":"https://munition.io"}},"x-agentcash-guidance":{"llmsTxtUrl":"https://api.munition.io/llms.txt","agentOpenApiUrl":"https://api.munition.io/openapi-agents.json"},"x-agentcash-provenance":{"ownershipProofs":["https://munition.io","https://api.munition.io/openapi.json","https://api.munition.io/.well-known/x402.json","https://api.munition.io/.well-known/mpp.json"]},"servers":[{"url":"https://api.munition.io"}],"tags":[{"name":"Proxy"}],"paths":{"/v1/exa/search":{"post":{"tags":["Proxy"],"operationId":"exa_search_direct","summary":"Search the web and optionally retrieve page contents with Exa","description":"Munition Exa Search: x402-paid neural web search for AI agents. Pay 0.01 USDC per query and get up to 25 ranked results (title, url, date, author, optional page text/highlights/summary) from Exa's semantic index. Supports categories (news, research paper, company, github, people…), domain include/exclude and date filters.","security":[],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.01"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExaSearchInput"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExaSearchOutput"}}}},"400":{"description":"Invalid input; rejected before any payment is verified or settled."},"402":{"description":"x402 payment required or settlement failed"},"409":{"description":"Idempotency conflict; do not pay again"},"422":{"description":"Upstream provider rejected the request after settlement (client-side error); payment is kept, paidCallId returned for reconciliation."},"502":{"description":"Upstream provider failed after settlement; payment is kept, paidCallId returned for reconciliation."}}}},"/v1/exa/contents":{"post":{"tags":["Proxy"],"operationId":"exa_contents_direct","summary":"Retrieve readable web page text from URLs with Exa","description":"Munition Exa Contents: x402-paid page content extraction for AI agents. Pay 0.002 USDC per call to fetch clean text (plus optional highlights and summaries) for up to 20 URLs from Exa's cache, with live crawl fallback.","security":[],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.002"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExaContentsInput"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExaContentsOutput"}}}},"400":{"description":"Invalid input; rejected before any payment is verified or settled."},"402":{"description":"x402 payment required or settlement failed"},"409":{"description":"Idempotency conflict; do not pay again"},"422":{"description":"Upstream provider rejected the request after settlement (client-side error); payment is kept, paidCallId returned for reconciliation."},"502":{"description":"Upstream provider failed after settlement; payment is kept, paidCallId returned for reconciliation."}}}},"/v1/exa/find-similar":{"post":{"tags":["Proxy"],"operationId":"exa_find_similar_direct","summary":"Find web pages similar to a source URL with Exa","description":"Munition Exa Find Similar: x402-paid similar-page discovery for AI agents. Pay 0.01 USDC to get up to 25 pages semantically similar to a given URL (competitors, related articles, alternatives), with optional page contents.","security":[],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.01"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExaFindSimilarInput"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExaFindSimilarOutput"}}}},"400":{"description":"Invalid input; rejected before any payment is verified or settled."},"402":{"description":"x402 payment required or settlement failed"},"409":{"description":"Idempotency conflict; do not pay again"},"422":{"description":"Upstream provider rejected the request after settlement (client-side error); payment is kept, paidCallId returned for reconciliation."},"502":{"description":"Upstream provider failed after settlement; payment is kept, paidCallId returned for reconciliation."}}}},"/v1/exa/answer":{"post":{"tags":["Proxy"],"operationId":"exa_answer_direct","summary":"Answer a web research question with cited sources using Exa","description":"Munition Exa Answer: x402-paid cited answers for AI agents. Pay 0.01 USDC to get a direct answer to a question grounded in live web search, with the source pages as citations.","security":[],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.01"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExaAnswerInput"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExaAnswerOutput"}}}},"400":{"description":"Invalid input; rejected before any payment is verified or settled."},"402":{"description":"x402 payment required or settlement failed"},"409":{"description":"Idempotency conflict; do not pay again"},"422":{"description":"Upstream provider rejected the request after settlement (client-side error); payment is kept, paidCallId returned for reconciliation."},"502":{"description":"Upstream provider failed after settlement; payment is kept, paidCallId returned for reconciliation."}}}},"/v1/firecrawl/scrape":{"post":{"tags":["Proxy"],"operationId":"firecrawl_scrape_direct","summary":"Extract readable markdown from a web page with Firecrawl","description":"Munition Firecrawl Scrape: x402-paid web page scraping for AI agents. Pay 0.015 USDC per URL to get the page rendered with JavaScript and converted to clean markdown (optionally raw HTML, links, summary). Use when a plain fetch returns empty, JS-only or 403 content.","security":[],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.015"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirecrawlScrapeInput"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirecrawlScrapeOutput"}}}},"400":{"description":"Invalid input; rejected before any payment is verified or settled."},"402":{"description":"x402 payment required or settlement failed"},"409":{"description":"Idempotency conflict; do not pay again"},"422":{"description":"Upstream provider rejected the request after settlement (client-side error); payment is kept, paidCallId returned for reconciliation."},"502":{"description":"Upstream provider failed after settlement; payment is kept, paidCallId returned for reconciliation."}}}},"/v1/firecrawl/search":{"post":{"tags":["Proxy"],"operationId":"firecrawl_search_direct","summary":"Search the web and optionally read result pages with Firecrawl","description":"Munition Firecrawl Search: x402-paid web search for AI agents. Pay 0.03 USDC per query to get up to 20 web results (url, title, description) and optionally the full markdown content of each result in the same call.","security":[],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.03"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirecrawlSearchInput"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirecrawlSearchOutput"}}}},"400":{"description":"Invalid input; rejected before any payment is verified or settled."},"402":{"description":"x402 payment required or settlement failed"},"409":{"description":"Idempotency conflict; do not pay again"},"422":{"description":"Upstream provider rejected the request after settlement (client-side error); payment is kept, paidCallId returned for reconciliation."},"502":{"description":"Upstream provider failed after settlement; payment is kept, paidCallId returned for reconciliation."}}}},"/v1/serper/search":{"post":{"tags":["Proxy"],"operationId":"serper_search_direct","summary":"Search Google for web results and snippets with Serper","description":"Munition Google Search: x402-paid Google web search results for AI agents via Serper. Pay 0.004 USDC per query for organic results (title, link, snippet, position), answer box, knowledge graph, people-also-ask and related searches. Country and language selectable.","security":[],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.004"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SerperSearchInput"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SerperSearchOutput"}}}},"400":{"description":"Invalid input; rejected before any payment is verified or settled."},"402":{"description":"x402 payment required or settlement failed"},"409":{"description":"Idempotency conflict; do not pay again"},"422":{"description":"Upstream provider rejected the request after settlement (client-side error); payment is kept, paidCallId returned for reconciliation."},"502":{"description":"Upstream provider failed after settlement; payment is kept, paidCallId returned for reconciliation."}}}},"/v1/serper/news":{"post":{"tags":["Proxy"],"operationId":"serper_news_direct","summary":"Search Google News for articles with Serper","description":"Munition Google News: x402-paid Google News results for AI agents via Serper. Pay 0.004 USDC per query for recent articles (title, link, source, date, snippet) with country, language and time filters.","security":[],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.004"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SerperNewsInput"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SerperNewsOutput"}}}},"400":{"description":"Invalid input; rejected before any payment is verified or settled."},"402":{"description":"x402 payment required or settlement failed"},"409":{"description":"Idempotency conflict; do not pay again"},"422":{"description":"Upstream provider rejected the request after settlement (client-side error); payment is kept, paidCallId returned for reconciliation."},"502":{"description":"Upstream provider failed after settlement; payment is kept, paidCallId returned for reconciliation."}}}},"/v1/serper/images":{"post":{"tags":["Proxy"],"operationId":"serper_images_direct","summary":"Search Google Images for image URLs with Serper","description":"Munition Google Images: x402-paid Google Images results for AI agents via Serper. Pay 0.004 USDC per query for image URLs, thumbnails, dimensions and source pages.","security":[],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.004"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SerperImagesInput"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SerperImagesOutput"}}}},"400":{"description":"Invalid input; rejected before any payment is verified or settled."},"402":{"description":"x402 payment required or settlement failed"},"409":{"description":"Idempotency conflict; do not pay again"},"422":{"description":"Upstream provider rejected the request after settlement (client-side error); payment is kept, paidCallId returned for reconciliation."},"502":{"description":"Upstream provider failed after settlement; payment is kept, paidCallId returned for reconciliation."}}}},"/v1/serper/shopping":{"post":{"tags":["Proxy"],"operationId":"serper_shopping_direct","summary":"Search Google Shopping for products and prices with Serper","description":"Munition Google Shopping: x402-paid Google Shopping results for AI agents via Serper. Pay 0.004 USDC per query for products with price, seller, rating and link — useful for price comparison and product research.","security":[],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.004"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SerperShoppingInput"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SerperShoppingOutput"}}}},"400":{"description":"Invalid input; rejected before any payment is verified or settled."},"402":{"description":"x402 payment required or settlement failed"},"409":{"description":"Idempotency conflict; do not pay again"},"422":{"description":"Upstream provider rejected the request after settlement (client-side error); payment is kept, paidCallId returned for reconciliation."},"502":{"description":"Upstream provider failed after settlement; payment is kept, paidCallId returned for reconciliation."}}}}},"components":{"securitySchemes":{"accountBearer":{"type":"http","scheme":"bearer","description":"Anonymous Munition account token created by /v1/accounts/bootstrap."}},"schemas":{"ExaSearchInput":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":2000,"description":"Natural-language search query."},"numResults":{"type":"integer","minimum":1,"maximum":25,"default":10},"type":{"type":"string","enum":["auto","neural","keyword","fast"],"default":"auto"},"category":{"type":"string","enum":["company","research paper","news","pdf","github","tweet","personal site","linkedin profile","financial report","people"]},"includeDomains":{"type":"array","items":{"type":"string"},"maxItems":50},"excludeDomains":{"type":"array","items":{"type":"string"},"maxItems":50},"startPublishedDate":{"type":"string","format":"date-time"},"endPublishedDate":{"type":"string","format":"date-time"},"contents":{"type":"object","description":"Which page contents to include. Omit for metadata only.","properties":{"text":{"oneOf":[{"type":"boolean"},{"type":"object","properties":{"maxCharacters":{"type":"integer"}}}]},"highlights":{"oneOf":[{"type":"boolean"},{"type":"object","properties":{"numSentences":{"type":"integer"},"highlightsPerUrl":{"type":"integer"}}}]},"summary":{"oneOf":[{"type":"boolean"},{"type":"object","properties":{"query":{"type":"string"}}}]}}}},"required":["query"],"additionalProperties":false},"ExaSearchOutput":{"type":"object","properties":{"query":{"type":"string"},"results":{"type":"array","items":{"type":"object","properties":{"title":{"type":["string","null"]},"url":{"type":"string","format":"uri"},"publishedDate":{"type":["string","null"]},"author":{"type":["string","null"]},"score":{"type":["number","null"]},"text":{"type":["string","null"],"description":"Page text when contents were requested."},"highlights":{"type":"array","items":{"type":"string"}},"summary":{"type":["string","null"]}},"required":["url"]}},"searchType":{"type":"string"},"meta":{"type":"object","properties":{"resultCount":{"type":"integer"},"searchedAt":{"type":"string","format":"date-time"}},"required":["resultCount","searchedAt"]}},"required":["query","results","meta"]},"ExaContentsInput":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string","format":"uri"},"minItems":1,"maxItems":20},"text":{"oneOf":[{"type":"boolean"},{"type":"object","properties":{"maxCharacters":{"type":"integer"}}}],"default":true},"highlights":{"oneOf":[{"type":"boolean"},{"type":"object","properties":{"numSentences":{"type":"integer"}}}]},"summary":{"oneOf":[{"type":"boolean"},{"type":"object","properties":{"query":{"type":"string"}}}]},"livecrawl":{"type":"string","enum":["never","fallback","always"]}},"required":["urls"],"additionalProperties":false},"ExaContentsOutput":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{"title":{"type":["string","null"]},"url":{"type":"string","format":"uri"},"publishedDate":{"type":["string","null"]},"author":{"type":["string","null"]},"score":{"type":["number","null"]},"text":{"type":["string","null"],"description":"Page text when contents were requested."},"highlights":{"type":"array","items":{"type":"string"}},"summary":{"type":["string","null"]}},"required":["url"]}},"meta":{"type":"object","properties":{"resultCount":{"type":"integer"},"fetchedAt":{"type":"string","format":"date-time"}},"required":["resultCount","fetchedAt"]}},"required":["results","meta"]},"ExaFindSimilarInput":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"Seed URL."},"numResults":{"type":"integer","minimum":1,"maximum":25,"default":10},"excludeSourceDomain":{"type":"boolean","default":true},"includeDomains":{"type":"array","items":{"type":"string"},"maxItems":50},"excludeDomains":{"type":"array","items":{"type":"string"},"maxItems":50},"contents":{"type":"object","description":"Which page contents to include. Omit for metadata only.","properties":{"text":{"oneOf":[{"type":"boolean"},{"type":"object","properties":{"maxCharacters":{"type":"integer"}}}]},"highlights":{"oneOf":[{"type":"boolean"},{"type":"object","properties":{"numSentences":{"type":"integer"},"highlightsPerUrl":{"type":"integer"}}}]},"summary":{"oneOf":[{"type":"boolean"},{"type":"object","properties":{"query":{"type":"string"}}}]}}}},"required":["url"],"additionalProperties":false},"ExaFindSimilarOutput":{"type":"object","properties":{"query":{"type":"string"},"results":{"type":"array","items":{"type":"object","properties":{"title":{"type":["string","null"]},"url":{"type":"string","format":"uri"},"publishedDate":{"type":["string","null"]},"author":{"type":["string","null"]},"score":{"type":["number","null"]},"text":{"type":["string","null"],"description":"Page text when contents were requested."},"highlights":{"type":"array","items":{"type":"string"}},"summary":{"type":["string","null"]}},"required":["url"]}},"searchType":{"type":"string"},"meta":{"type":"object","properties":{"resultCount":{"type":"integer"},"searchedAt":{"type":"string","format":"date-time"}},"required":["resultCount","searchedAt"]}},"required":["query","results","meta"]},"ExaAnswerInput":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":2000,"description":"Question to answer."},"text":{"type":"boolean","default":false,"description":"Include full text of each citation."}},"required":["query"],"additionalProperties":false},"ExaAnswerOutput":{"type":"object","properties":{"query":{"type":"string"},"answer":{"type":"string"},"citations":{"type":"array","items":{"type":"object","properties":{"title":{"type":["string","null"]},"url":{"type":"string","format":"uri"},"publishedDate":{"type":["string","null"]},"author":{"type":["string","null"]},"score":{"type":["number","null"]},"text":{"type":["string","null"],"description":"Page text when contents were requested."},"highlights":{"type":"array","items":{"type":"string"}},"summary":{"type":["string","null"]}},"required":["url"]}},"meta":{"type":"object","properties":{"citationCount":{"type":"integer"},"answeredAt":{"type":"string","format":"date-time"}},"required":["citationCount","answeredAt"]}},"required":["query","answer","citations","meta"]},"FirecrawlScrapeInput":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"Page to scrape."},"formats":{"type":"array","items":{"type":"string","enum":["markdown","html","links","summary"]},"default":["markdown"]},"onlyMainContent":{"type":"boolean","default":true,"description":"Strip navigation, footers and boilerplate."},"waitFor":{"type":"integer","minimum":0,"maximum":10000,"description":"Milliseconds to wait for dynamic content."},"timeout":{"type":"integer","minimum":1000,"maximum":30000}},"required":["url"],"additionalProperties":false},"FirecrawlScrapeOutput":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"Final URL after redirects."},"title":{"type":["string","null"]},"markdown":{"type":["string","null"],"description":"Page content as markdown."},"html":{"type":["string","null"]},"links":{"type":"array","items":{"type":"string"}},"summary":{"type":["string","null"]},"statusCode":{"type":["integer","null"]},"meta":{"type":"object","properties":{"fetchedAt":{"type":"string","format":"date-time"},"characters":{"type":"integer"}},"required":["fetchedAt","characters"]}},"required":["url","title","markdown","statusCode","meta"]},"FirecrawlSearchInput":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":1000},"limit":{"type":"integer","minimum":1,"maximum":20,"default":5},"lang":{"type":"string","description":"Language code, e.g. en, fr."},"country":{"type":"string","description":"Two-letter country code, e.g. us, fr."},"tbs":{"type":"string","description":"Time filter, e.g. qdr:d (day), qdr:w (week), qdr:m (month)."},"scrapeContent":{"type":"boolean","default":false,"description":"Also scrape each result to markdown."}},"required":["query"],"additionalProperties":false},"FirecrawlSearchOutput":{"type":"object","properties":{"query":{"type":"string"},"results":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri"},"title":{"type":["string","null"]},"description":{"type":["string","null"]},"markdown":{"type":["string","null"],"description":"Present when scrapeContent is true."}},"required":["url"]}},"meta":{"type":"object","properties":{"resultCount":{"type":"integer"},"searchedAt":{"type":"string","format":"date-time"}},"required":["resultCount","searchedAt"]}},"required":["query","results","meta"]},"SerperSearchInput":{"type":"object","properties":{"q":{"type":"string","minLength":1,"maxLength":1000,"description":"Google query."},"gl":{"type":"string","default":"us","description":"Country code (gl), e.g. us, fr, de."},"hl":{"type":"string","default":"en","description":"Interface language (hl), e.g. en, fr."},"num":{"type":"integer","minimum":1,"maximum":100,"default":10},"page":{"type":"integer","minimum":1,"maximum":10,"default":1},"tbs":{"type":"string","description":"Time filter, e.g. qdr:d, qdr:w, qdr:m, qdr:y."}},"required":["q"],"additionalProperties":false},"SerperSearchOutput":{"type":"object","properties":{"query":{"type":"string"},"organic":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string"},"link":{"type":"string","format":"uri"},"snippet":{"type":"string"},"position":{"type":"integer"},"date":{"type":"string"}},"required":["title","link"]}},"answerBox":{"type":["object","null"]},"knowledgeGraph":{"type":["object","null"]},"peopleAlsoAsk":{"type":"array","items":{"type":"object"}},"relatedSearches":{"type":"array","items":{"type":"object","properties":{"query":{"type":"string"}}}},"meta":{"type":"object","properties":{"resultCount":{"type":"integer"},"searchedAt":{"type":"string","format":"date-time"}},"required":["resultCount","searchedAt"]}},"required":["query","organic","meta"]},"SerperNewsInput":{"type":"object","properties":{"q":{"type":"string","minLength":1,"maxLength":1000,"description":"Google query."},"gl":{"type":"string","default":"us","description":"Country code (gl), e.g. us, fr, de."},"hl":{"type":"string","default":"en","description":"Interface language (hl), e.g. en, fr."},"num":{"type":"integer","minimum":1,"maximum":100,"default":10},"page":{"type":"integer","minimum":1,"maximum":10,"default":1},"tbs":{"type":"string","description":"Time filter, e.g. qdr:d, qdr:w, qdr:m, qdr:y."}},"required":["q"],"additionalProperties":false},"SerperNewsOutput":{"type":"object","properties":{"query":{"type":"string"},"news":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string"},"link":{"type":"string","format":"uri"},"snippet":{"type":"string"},"date":{"type":"string"},"source":{"type":"string"},"imageUrl":{"type":"string"},"position":{"type":"integer"}},"required":["title","link"]}},"meta":{"type":"object","properties":{"resultCount":{"type":"integer"},"searchedAt":{"type":"string","format":"date-time"}},"required":["resultCount","searchedAt"]}},"required":["query","news","meta"]},"SerperImagesInput":{"type":"object","properties":{"q":{"type":"string","minLength":1,"maxLength":1000,"description":"Google query."},"gl":{"type":"string","default":"us","description":"Country code (gl), e.g. us, fr, de."},"hl":{"type":"string","default":"en","description":"Interface language (hl), e.g. en, fr."},"num":{"type":"integer","minimum":1,"maximum":100,"default":10},"page":{"type":"integer","minimum":1,"maximum":10,"default":1},"tbs":{"type":"string","description":"Time filter, e.g. qdr:d, qdr:w, qdr:m, qdr:y."}},"required":["q"],"additionalProperties":false},"SerperImagesOutput":{"type":"object","properties":{"query":{"type":"string"},"images":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string"},"imageUrl":{"type":"string","format":"uri"},"imageWidth":{"type":"integer"},"imageHeight":{"type":"integer"},"thumbnailUrl":{"type":"string"},"source":{"type":"string"},"link":{"type":"string"},"position":{"type":"integer"}},"required":["imageUrl"]}},"meta":{"type":"object","properties":{"resultCount":{"type":"integer"},"searchedAt":{"type":"string","format":"date-time"}},"required":["resultCount","searchedAt"]}},"required":["query","images","meta"]},"SerperShoppingInput":{"type":"object","properties":{"q":{"type":"string","minLength":1,"maxLength":1000,"description":"Google query."},"gl":{"type":"string","default":"us","description":"Country code (gl), e.g. us, fr, de."},"hl":{"type":"string","default":"en","description":"Interface language (hl), e.g. en, fr."},"num":{"type":"integer","minimum":1,"maximum":100,"default":10},"page":{"type":"integer","minimum":1,"maximum":10,"default":1},"tbs":{"type":"string","description":"Time filter, e.g. qdr:d, qdr:w, qdr:m, qdr:y."}},"required":["q"],"additionalProperties":false},"SerperShoppingOutput":{"type":"object","properties":{"query":{"type":"string"},"shopping":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string"},"source":{"type":"string"},"link":{"type":"string"},"price":{"type":"string"},"rating":{"type":"number"},"ratingCount":{"type":"integer"},"imageUrl":{"type":"string"},"position":{"type":"integer"}},"required":["title"]}},"meta":{"type":"object","properties":{"resultCount":{"type":"integer"},"searchedAt":{"type":"string","format":"date-time"}},"required":["resultCount","searchedAt"]}},"required":["query","shopping","meta"]}}}}