{"openapi":"3.1.0","info":{"title":"Trawl API","version":"1.0.0","description":"Scrape, enrich and understand the web. Responses are wrapped as `{ \"data\": \u2026, \"credits\": { \"cost\", \"remaining\" } }`; errors as `{ \"error\": { \"code\", \"message\" } }`."},"servers":[{"url":"http:\/\/localhost","description":"This instance"}],"security":[{"bearerAuth":[]}],"tags":[{"name":"Web","description":"Scraping, crawling and page data."},{"name":"Brand","description":"Brand, company and classification data."},{"name":"Account","description":"Account, usage and jobs."},{"name":"Logo Link","description":"Public, embeddable logo images."}],"paths":{"\/v1\/me":{"get":{"summary":"Current plan, rate limit and credit usage.","tags":["Account"],"operationId":"me","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Success"}}}},"401":{"description":"Missing or invalid API key","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"402":{"description":"Out of credits","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"Invalid parameters","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Rate limited","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}},"x-credit-cost":0,"security":[{"bearerAuth":[]}]}},"\/v1\/jobs\/{id}":{"get":{"summary":"Poll an async job for status and result.","tags":["Account"],"operationId":"getJob","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Success"}}}},"401":{"description":"Missing or invalid API key","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"402":{"description":"Out of credits","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"Invalid parameters","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Rate limited","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}},"x-credit-cost":0,"security":[{"bearerAuth":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}]}},"\/v1\/scrape":{"post":{"summary":"URL \u2192 clean markdown or HTML with title and metadata.","tags":["Web"],"operationId":"scrape","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Success"}}}},"401":{"description":"Missing or invalid API key","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"402":{"description":"Out of credits","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"Invalid parameters","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Rate limited","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}},"x-credit-cost":1,"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"url":{"type":"string"},"format":{"type":"string"},"render":{"type":"boolean"},"cache":{"type":"boolean"}},"required":["url"]}}}}}},"\/v1\/html":{"post":{"summary":"URL \u2192 denoised HTML.","tags":["Web"],"operationId":"html","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Success"}}}},"401":{"description":"Missing or invalid API key","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"402":{"description":"Out of credits","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"Invalid parameters","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Rate limited","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}},"x-credit-cost":1,"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"url":{"type":"string"},"render":{"type":"boolean"}},"required":["url"]}}}}}},"\/v1\/images":{"post":{"summary":"Extract images from a page.","tags":["Web"],"operationId":"images","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Success"}}}},"401":{"description":"Missing or invalid API key","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"402":{"description":"Out of credits","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"Invalid parameters","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Rate limited","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}},"x-credit-cost":1,"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"url":{"type":"string"}},"required":["url"]}}}}}},"\/v1\/links":{"post":{"summary":"Extract internal and external links.","tags":["Web"],"operationId":"links","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Success"}}}},"401":{"description":"Missing or invalid API key","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"402":{"description":"Out of credits","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"Invalid parameters","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Rate limited","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}},"x-credit-cost":1,"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"url":{"type":"string"}},"required":["url"]}}}}}},"\/v1\/metadata":{"post":{"summary":"Page metadata (OG, Twitter, headings).","tags":["Web"],"operationId":"metadata","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Success"}}}},"401":{"description":"Missing or invalid API key","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"402":{"description":"Out of credits","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"Invalid parameters","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Rate limited","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}},"x-credit-cost":1,"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"url":{"type":"string"}},"required":["url"]}}}}}},"\/v1\/sitemap":{"get":{"summary":"Discover and parse a site's sitemaps.","tags":["Web"],"operationId":"sitemap","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Success"}}}},"401":{"description":"Missing or invalid API key","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"402":{"description":"Out of credits","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"Invalid parameters","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Rate limited","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}},"x-credit-cost":1,"security":[{"bearerAuth":[]}],"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string"}}]}},"\/v1\/crawl":{"post":{"summary":"Async same-host crawl \u2192 202 + job_id.","tags":["Web"],"operationId":"crawl","responses":{"202":{"description":"Job accepted","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/JobAccepted"}}}},"401":{"description":"Missing or invalid API key","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"402":{"description":"Out of credits","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"Invalid parameters","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Rate limited","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}},"x-credit-cost":5,"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"url":{"type":"string"},"max_pages":{"type":"integer"},"callback_url":{"type":"string"}},"required":["url"]}}}}}},"\/v1\/jsonld":{"post":{"summary":"Extract raw JSON-LD \/ microdata structured data.","tags":["Web"],"operationId":"jsonld","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Success"}}}},"401":{"description":"Missing or invalid API key","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"402":{"description":"Out of credits","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"Invalid parameters","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Rate limited","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}},"x-credit-cost":1,"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"url":{"type":"string"}},"required":["url"]}}}}}},"\/v1\/extract":{"post":{"summary":"Schema-driven structured extraction (field-map \u2192 typed JSON).","tags":["Web"],"operationId":"extract","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Success"}}}},"401":{"description":"Missing or invalid API key","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"402":{"description":"Out of credits","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"Invalid parameters","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Rate limited","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}},"x-credit-cost":15,"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"url":{"type":"string"},"schema":{"type":"string"}},"required":["url","schema"]}}}}}},"\/v1\/screenshot":{"get":{"summary":"Render and screenshot a page.","tags":["Web"],"operationId":"screenshot","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Success"}}}},"401":{"description":"Missing or invalid API key","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"402":{"description":"Out of credits","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"Invalid parameters","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Rate limited","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}},"x-credit-cost":1,"security":[{"bearerAuth":[]}],"parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"}},{"name":"width","in":"query","required":false,"schema":{"type":"integer"}},{"name":"height","in":"query","required":false,"schema":{"type":"integer"}},{"name":"full_page","in":"query","required":false,"schema":{"type":"boolean"}}]}},"\/v1\/query":{"post":{"summary":"Natural-language question about a page.","tags":["Web"],"operationId":"query","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Success"}}}},"401":{"description":"Missing or invalid API key","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"402":{"description":"Out of credits","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"Invalid parameters","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Rate limited","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}},"x-credit-cost":5,"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"url":{"type":"string"},"question":{"type":"string"}},"required":["url","question"]}}}}}},"\/v1\/brand":{"post":{"summary":"Full brand profile: logos, colors, fonts, socials.","tags":["Brand"],"operationId":"brand","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Success"}}}},"401":{"description":"Missing or invalid API key","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"402":{"description":"Out of credits","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"Invalid parameters","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Rate limited","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}},"x-credit-cost":10,"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"domain":{"type":"string"},"email":{"type":"string"},"company":{"type":"string"}}}}}}}},"\/v1\/logo":{"get":{"summary":"Best logo URL for a domain (+ candidates).","tags":["Brand"],"operationId":"logo","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Success"}}}},"401":{"description":"Missing or invalid API key","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"402":{"description":"Out of credits","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"Invalid parameters","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Rate limited","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}},"x-credit-cost":10,"security":[{"bearerAuth":[]}],"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string"}}]}},"\/v1\/company\/colors":{"post":{"summary":"Brand colors for a company.","tags":["Brand"],"operationId":"companyColors","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Success"}}}},"401":{"description":"Missing or invalid API key","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"402":{"description":"Out of credits","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"Invalid parameters","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Rate limited","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}},"x-credit-cost":10,"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"domain":{"type":"string"}},"required":["domain"]}}}}}},"\/v1\/company\/description":{"post":{"summary":"Company description.","tags":["Brand"],"operationId":"companyDescription","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Success"}}}},"401":{"description":"Missing or invalid API key","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"402":{"description":"Out of credits","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"Invalid parameters","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Rate limited","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}},"x-credit-cost":10,"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"domain":{"type":"string"}},"required":["domain"]}}}}}},"\/v1\/company\/socials":{"post":{"summary":"Company social profile links.","tags":["Brand"],"operationId":"companySocials","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Success"}}}},"401":{"description":"Missing or invalid API key","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"402":{"description":"Out of credits","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"Invalid parameters","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Rate limited","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}},"x-credit-cost":10,"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"domain":{"type":"string"}},"required":["domain"]}}}}}},"\/v1\/company\/fonts":{"post":{"summary":"Font stack for a company.","tags":["Brand"],"operationId":"companyFonts","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Success"}}}},"401":{"description":"Missing or invalid API key","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"402":{"description":"Out of credits","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"Invalid parameters","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Rate limited","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}},"x-credit-cost":10,"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"domain":{"type":"string"}},"required":["domain"]}}}}}},"\/v1\/company\/styleguide":{"post":{"summary":"Consolidated brand style guide.","tags":["Brand"],"operationId":"companyStyleguide","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Success"}}}},"401":{"description":"Missing or invalid API key","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"402":{"description":"Out of credits","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"Invalid parameters","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Rate limited","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}},"x-credit-cost":10,"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"domain":{"type":"string"}},"required":["domain"]}}}}}},"\/v1\/company\/address":{"post":{"summary":"Business address for a company.","tags":["Brand"],"operationId":"companyAddress","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Success"}}}},"401":{"description":"Missing or invalid API key","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"402":{"description":"Out of credits","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"Invalid parameters","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Rate limited","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}},"x-credit-cost":10,"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"domain":{"type":"string"}},"required":["domain"]}}}}}},"\/v1\/classify\/naics":{"post":{"summary":"NAICS classification.","tags":["Brand"],"operationId":"classifyNaics","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Success"}}}},"401":{"description":"Missing or invalid API key","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"402":{"description":"Out of credits","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"Invalid parameters","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Rate limited","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}},"x-credit-cost":10,"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"domain":{"type":"string"},"company":{"type":"string"}}}}}}}},"\/v1\/classify\/sic":{"post":{"summary":"SIC classification.","tags":["Brand"],"operationId":"classifySic","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Success"}}}},"401":{"description":"Missing or invalid API key","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"402":{"description":"Out of credits","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"Invalid parameters","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Rate limited","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}},"x-credit-cost":10,"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"domain":{"type":"string"},"company":{"type":"string"}}}}}}}},"\/v1\/transaction":{"post":{"summary":"Identify a brand from a transaction descriptor.","tags":["Brand"],"operationId":"transaction","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Success"}}}},"401":{"description":"Missing or invalid API key","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"402":{"description":"Out of credits","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"Invalid parameters","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Rate limited","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}},"x-credit-cost":10,"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"descriptor":{"type":"string"}},"required":["descriptor"]}}}}}},"\/logo\/{domain}":{"get":{"summary":"Public, embeddable logo image \u2014 302 redirect to the best logo.","tags":["Logo Link"],"operationId":"logoLink","responses":{"302":{"description":"Redirect to the resolved logo image"},"401":{"description":"Invalid token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"402":{"description":"Quota exceeded","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}},"parameters":[{"name":"domain","in":"path","required":true,"schema":{"type":"string"}},{"name":"token","in":"query","required":true,"schema":{"type":"string"}}]}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","description":"A Trawl API key: `Authorization: Bearer tk_live_\u2026`."}},"schemas":{"Success":{"type":"object","properties":{"data":{"type":"object"},"credits":{"type":"object","properties":{"cost":{"type":"integer"},"remaining":{"type":"integer"},"cached":{"type":"boolean"}}}}},"JobAccepted":{"type":"object","properties":{"data":{"type":"object","properties":{"job_id":{"type":"string"},"status":{"type":"string"}}}}},"Error":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}