{"openapi":"3.1.0","info":{"title":"Stophy API","version":"1","description":"Every endpoint is a POST that takes its input as a JSON object body. Unknown fields are rejected with 400.\n\nSend Accept: text/markdown to get markdown instead of JSON.\n\nResponses leave out empty values: null, empty strings, empty objects and empty nested lists are not sent.\n\nx-credits is what one call costs. When x-per-items is set, a call costs x-credits for every x-per-items items it returns, and at least x-credits.\n\nWhen a response has a cursor, send it back with the same input to get the next page.\n\nEndpoints whose security includes {} also work without an API key: 10 requests a minute and 50 a day per IP, limit at most 10, and no paging."},"servers":[{"url":"https://api.stophy.dev"}],"security":[{"apiKey":[]}],"components":{"securitySchemes":{"apiKey":{"type":"http","scheme":"bearer"}},"schemas":{"Error":{"type":"object","required":["success","error"],"properties":{"success":{"const":false},"error":{"type":"object","required":["code","message","retryable","requestId"],"properties":{"code":{"type":"string","enum":["cliSessionCompleted","cliSessionExists","cliSessionNotFound","forbidden","insufficientCredits","internalError","invalidCliSession","invalidCliVerifier","invalidRequest","notFound","rateLimited","sourceChanged","sourceRefused","sourceTimeout","sourceUnavailable","tooManyInFlight","unauthorized","unsupportedMediaType"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"retryAfterSeconds":{"type":"integer"},"requestId":{"type":"string"}}}}},"EndpointCatalog":{"type":"object","required":["endpoints"],"properties":{"endpoints":{"type":"array","items":{"type":"object","required":["id","method","path","credits","keyless","perItems","cacheTtlSeconds","example"],"properties":{"id":{"type":"string"},"method":{"const":"POST"},"path":{"type":"string"},"credits":{"type":"integer"},"keyless":{"type":"boolean"},"perItems":{"type":["integer","null"]},"cacheTtlSeconds":{"type":"integer"},"input":{"type":"object","description":"The endpoint's input as JSON Schema."},"example":{"type":["object","null"],"description":"A real input for this endpoint, or null when there is none."}}}}}},"redditPost.schema0":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"text":{"type":"string"},"score":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"depth":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"isSubmitter":{"type":"boolean"},"isPinned":{"type":"boolean"},"children":{"type":"array","items":{"$ref":"#/components/schemas/redditPost.schema0"}},"repliesCursor":{"type":"string"}},"required":["url","score","depth","isSubmitter","isPinned"]},"redditCommentsMore.schema0":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"text":{"type":"string"},"score":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"depth":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"isSubmitter":{"type":"boolean"},"isPinned":{"type":"boolean"},"children":{"type":"array","items":{"$ref":"#/components/schemas/redditCommentsMore.schema0"}},"repliesCursor":{"type":"string"}},"required":["url","score","depth","isSubmitter","isPinned"]}},"headers":{"RequestId":{"description":"The request id. Quote it when you report a problem.","schema":{"type":"string"}},"CreditsUsed":{"description":"Credits this call used.","schema":{"type":"integer"}},"RateLimitLimit":{"description":"Requests allowed in the current window.","schema":{"type":"integer"}},"RateLimitRemaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RetryAfter":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}}},"responses":{"Error":{"description":"The request failed. retryable says whether trying again can help.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"paths":{"/v1/endpoints":{"get":{"operationId":"listEndpoints","summary":"List every endpoint with its cost and input schema.","security":[{}],"responses":{"200":{"description":"The endpoint catalog.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndpointCatalog"}}}}}}},"/v1/web/search":{"post":{"operationId":"webSearch","summary":"web.search","description":"Costs 1 credit per 10 items. Works without an API key, within free limits.","security":[{},{"apiKey":[]}],"x-credits":1,"x-per-items":10,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":400},"country":{"type":"string","pattern":"^[A-Za-z]{2}$","description":"ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted."},"language":{"type":"string","pattern":"^[A-Za-z]{2}$","description":"BCP 47 language tag, e.g. en or pt-BR. Any case is accepted."},"includeDomains":{"maxItems":10,"type":"array","items":{"type":"string"}},"excludeDomains":{"maxItems":10,"type":"array","items":{"type":"string"}},"from":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"to":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"limit":{"default":10,"type":"integer","minimum":1,"maximum":100},"within":{"default":"all","type":"string","enum":["day","week","month","year","all"]}},"required":["query"],"additionalProperties":false},"example":{"query":"best project management software","limit":10}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"results":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"title":{"type":"string","minLength":1},"url":{"type":"string","format":"uri"},"description":{"type":"string"},"domain":{"type":"string"},"position":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["title","url","position"]}}},"required":["results"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/web/news":{"post":{"operationId":"webNews","summary":"web.news","description":"Costs 2 credits per 10 items.","x-credits":2,"x-per-items":10,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":400},"topic":{"type":"string","enum":["world","nation","business","technology","entertainment","sports","science","health"]},"country":{"type":"string","pattern":"^[A-Za-z]{2}$","description":"ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted."},"language":{"type":"string","pattern":"^[A-Za-z]{2}$","description":"BCP 47 language tag, e.g. en or pt-BR. Any case is accepted."},"includeDomains":{"maxItems":10,"type":"array","items":{"type":"string"}},"excludeDomains":{"maxItems":10,"type":"array","items":{"type":"string"}},"from":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"to":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"limit":{"default":10,"type":"integer","minimum":1,"maximum":100},"within":{"default":"all","type":"string","enum":["hour","day","week","month","year","all"]}},"additionalProperties":false},"example":{"query":"nvidia","limit":10}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"articles":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"title":{"type":"string","minLength":1},"url":{"type":"string","format":"uri"},"publisher":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":[]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"domain":{"type":"string"},"position":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["title","url","position"]}}},"required":["articles"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/web/contacts":{"post":{"operationId":"webContacts","summary":"web.contacts","description":"Costs 2 credits per 5 items.","x-credits":2,"x-per-items":5,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"},"maxPages":{"default":5,"type":"integer","minimum":1,"maximum":10}},"required":["url"],"additionalProperties":false},"example":{"url":"https://www.franklinbbq.com","maxPages":3}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"emails":{"type":"array","items":{"type":"string"}},"phones":{"type":"array","items":{"type":"string"}},"socials":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"platform":{"type":"string","enum":["facebook","instagram","x","linkedin","youtube","tiktok","pinterest","github","threads"]},"url":{"type":"string","format":"uri"}},"required":["platform","url"]}},"url":{"type":"string","format":"uri"},"pages":{"type":"array","items":{"type":"string","format":"uri"}}},"required":["emails","phones","socials","url","pages"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/youtube/search":{"post":{"operationId":"youtubeSearch","summary":"youtube.search","description":"Costs 1 credit per 20 items. Pages with cursor. Works without an API key, within free limits.","security":[{},{"apiKey":[]}],"x-credits":1,"x-per-items":20,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":400},"type":{"default":"videos","type":"string","enum":["videos","all","channels","playlists","shorts"]},"duration":{"default":"all","type":"string","enum":["all","short","medium","long"]},"within":{"default":"all","type":"string","enum":["hour","day","week","month","year","all"]},"sort":{"default":"relevance","type":"string","enum":["relevance","top"]},"features":{"default":[],"maxItems":9,"type":"array","items":{"type":"string","enum":["360","live","4k","hd","subtitles","creativeCommons","vr180","3d","hdr"]}},"country":{"default":"us","type":"string","pattern":"^[A-Za-z]{2}$","description":"ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted."},"language":{"default":"en","type":"string","pattern":"^[A-Za-z]{2,3}(?:[-_][A-Za-z0-9]{2,4})?$","description":"BCP 47 language tag, e.g. en or pt-BR. Any case is accepted."},"limit":{"default":20,"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","minLength":1,"maxLength":4096}},"required":["query"],"additionalProperties":false},"example":{"query":"rust tutorial"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"results":{"type":"array","items":{"oneOf":[{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string","const":"video"},"id":{"type":"string"},"url":{"type":"string","format":"uri"},"title":{"type":"string"},"channel":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"durationSeconds":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"views":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"thumbnail":{"type":"string","format":"uri"},"isShort":{"type":"boolean"},"isLive":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["type","url","isShort","isLive"]},{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string","const":"channel"},"id":{"type":"string"},"url":{"type":"string","format":"uri"},"name":{"type":"string"},"username":{"type":"string"},"description":{"type":"string"},"subscribers":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"thumbnail":{"type":"string","format":"uri"}},"required":["type","url"]},{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string","const":"playlist"},"id":{"type":"string"},"url":{"type":"string","format":"uri"},"title":{"type":"string"},"channel":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"videos":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"thumbnail":{"type":"string","format":"uri"}},"required":["type","url"]}]}},"cursor":{"type":"string"}},"required":["results"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/youtube/video":{"post":{"operationId":"youtubeVideo","summary":"youtube.video","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"video":{"type":"string"}},"required":["video"],"additionalProperties":false},"example":{"video":"dQw4w9WgXcQ"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"title":{"type":"string"},"channel":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"durationSeconds":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"views":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"thumbnail":{"type":"string","format":"uri"},"isShort":{"type":"boolean"},"isLive":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"description":{"type":"string"},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"category":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}}},"required":["url","isShort","isLive","tags"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/youtube/transcript":{"post":{"operationId":"youtubeTranscript","summary":"youtube.transcript","description":"Costs 3 credits. Works without an API key, within free limits.","security":[{},{"apiKey":[]}],"x-credits":3,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"video":{"type":"string"},"language":{"type":"string","pattern":"^[A-Za-z]{2,3}(?:[-_][A-Za-z0-9]{2,4})?$","description":"BCP 47 language tag, e.g. en or pt-BR. Any case is accepted."},"includeTimestamps":{"default":false,"type":"boolean"}},"required":["video"],"additionalProperties":false},"example":{"video":"dQw4w9WgXcQ"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"language":{"type":"string"},"isAutoGenerated":{"type":"boolean"},"durationSeconds":{"type":"number"},"text":{"type":"string"},"segments":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"startSeconds":{"type":"number"},"endSeconds":{"type":"number"},"text":{"type":"string"}},"required":["startSeconds","endSeconds"]}}},"required":["url","isAutoGenerated"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/youtube/comments":{"post":{"operationId":"youtubeComments","summary":"youtube.comments","description":"Costs 1 credit per 20 items. Pages with cursor.","x-credits":1,"x-per-items":20,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"video":{"type":"string"},"sort":{"default":"top","type":"string","enum":["top","newest"]},"limit":{"default":20,"type":"integer","minimum":1,"maximum":200},"cursor":{"type":"string","minLength":1,"maxLength":4096}},"required":["video"],"additionalProperties":false},"example":{"video":"dQw4w9WgXcQ"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"comments":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"text":{"type":"string"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"replies":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"isPinned":{"type":"boolean"},"isHearted":{"type":"boolean"},"isChannelOwner":{"type":"boolean"},"repliesCursor":{"type":"string"}},"required":["url","likes","replies","isPinned","isHearted","isChannelOwner"]}},"cursor":{"type":"string"}},"required":["comments"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/youtube/comments/replies":{"post":{"operationId":"youtubeCommentsReplies","summary":"youtube.comments.replies","description":"Costs 1 credit per 10 items. Pages with cursor.","x-credits":1,"x-per-items":10,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"video":{"type":"string"},"limit":{"default":10,"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","minLength":1,"maxLength":4096}},"required":["video","cursor"],"additionalProperties":false}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"replies":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"text":{"type":"string"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"replies":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"isPinned":{"type":"boolean"},"isHearted":{"type":"boolean"},"isChannelOwner":{"type":"boolean"},"repliesCursor":{"type":"string"}},"required":["url","likes","replies","isPinned","isHearted","isChannelOwner"]}},"cursor":{"type":"string"}},"required":["replies"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/youtube/channel":{"post":{"operationId":"youtubeChannel","summary":"youtube.channel","description":"Costs 1 credit per 30 items. Pages with cursor.","x-credits":1,"x-per-items":30,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"channel":{"type":"string","minLength":2,"maxLength":200},"tab":{"default":"videos","type":"string","enum":["videos","shorts","live","playlists","posts","search"]},"query":{"type":"string","minLength":1,"maxLength":200},"includeAbout":{"default":false,"type":"boolean"},"limit":{"default":30,"type":"integer","minimum":1,"maximum":150},"cursor":{"type":"string","minLength":1,"maxLength":4096}},"required":["channel"],"additionalProperties":false},"example":{"channel":"@mkbhd"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"channel":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"name":{"type":"string"},"username":{"type":"string"},"description":{"type":"string"},"subscribers":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"videos":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"avatar":{"type":"string","format":"uri"},"banner":{"type":"string","format":"uri"},"about":{"type":"object","additionalProperties":false,"properties":{"country":{"type":"string"},"joinedDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"views":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"links":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"title":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":["url"]}}},"required":[]}},"required":["url"]},"items":{"type":"array","items":{"oneOf":[{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string","const":"video"},"id":{"type":"string"},"url":{"type":"string","format":"uri"},"title":{"type":"string"},"channel":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"durationSeconds":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"views":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"thumbnail":{"type":"string","format":"uri"},"isShort":{"type":"boolean"},"isLive":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["type","url","isShort","isLive"]},{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string","const":"playlist"},"id":{"type":"string"},"url":{"type":"string","format":"uri"},"title":{"type":"string"},"channel":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"videos":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"thumbnail":{"type":"string","format":"uri"}},"required":["type","url"]},{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string","const":"post"},"id":{"type":"string"},"url":{"type":"string","format":"uri"},"text":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"comments":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"video":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"title":{"type":"string"}},"required":[]},"poll":{"type":"object","additionalProperties":false,"properties":{"choices":{"type":"array","items":{"type":"string"}},"totalVotes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":[]}},"required":["type","url"]}]}},"cursor":{"type":"string"}},"required":["items"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/youtube/playlist":{"post":{"operationId":"youtubePlaylist","summary":"youtube.playlist","description":"Costs 1 credit per 100 items. Pages with cursor.","x-credits":1,"x-per-items":100,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"playlist":{"type":"string"},"limit":{"default":100,"type":"integer","minimum":1,"maximum":500},"cursor":{"type":"string","minLength":1,"maxLength":4096}},"required":["playlist"],"additionalProperties":false},"example":{"playlist":"PLFgquLnL59alCl_2TQvOiD5Vgm1hCaGSI"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"playlist":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"channel":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"videos":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"views":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"thumbnail":{"type":"string","format":"uri"}},"required":["url"]},"videos":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string","const":"video"},"id":{"type":"string"},"url":{"type":"string","format":"uri"},"title":{"type":"string"},"channel":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"durationSeconds":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"views":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"thumbnail":{"type":"string","format":"uri"},"isShort":{"type":"boolean"},"isLive":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["type","url","isShort","isLive"]}},"cursor":{"type":"string"}},"required":["videos"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/reddit/search":{"post":{"operationId":"redditSearch","summary":"reddit.search","description":"Costs 2 credits. Pages with cursor.","x-credits":2,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":512},"type":{"default":"posts","type":"string","enum":["posts","subreddits","users"]},"subreddit":{"type":"string"},"sort":{"default":"relevance","type":"string","enum":["relevance","hot","top","newest","mostComments"]},"within":{"default":"all","type":"string","enum":["hour","day","week","month","year","all"]},"includeNsfw":{"default":false,"type":"boolean"},"limit":{"default":25,"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","minLength":1,"maxLength":8192}},"required":["query"],"additionalProperties":false},"example":{"query":"typescript"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"results":{"type":"array","items":{"oneOf":[{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string","const":"post"},"id":{"type":"string"},"url":{"type":"string","format":"uri"},"title":{"type":"string"},"text":{"type":"string"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"subreddit":{"type":"string"},"score":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"upvotePercent":{"type":"number","minimum":0,"maximum":100},"comments":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"flair":{"type":"string"},"link":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"image":{"type":"string","format":"uri"}},"required":["url"]},"thumbnail":{"type":"string","format":"uri"},"isNsfw":{"type":"boolean"},"isVideo":{"type":"boolean"},"isPinned":{"type":"boolean"},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"video":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"hls":{"type":"string","format":"uri"},"durationSeconds":{"type":"number"}},"required":["url"]},"poll":{"type":"object","additionalProperties":false,"properties":{"options":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"text":{"type":"string"},"votes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":[]}},"totalVotes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"endsAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":[]},"repostOf":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"subreddit":{"type":"string"},"title":{"type":"string"}},"required":[]}},"required":["type","url","score","comments","isNsfw","isVideo","isPinned"]},{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string","const":"subreddit"},"id":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"members":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"avatar":{"type":"string","format":"uri"},"isNsfw":{"type":"boolean"},"rules":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"title":{"type":"string"},"description":{"type":"string"}},"required":[]}}},"required":["type","url","isNsfw"]},{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string","const":"user"},"id":{"type":"string"},"username":{"type":"string"},"url":{"type":"string","format":"uri"},"postKarma":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"commentKarma":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":["type","url","isVerified"]}]}},"cursor":{"type":"string"}},"required":["results"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/reddit/post":{"post":{"operationId":"redditPost","summary":"reddit.post","description":"Costs 2 credits.","x-credits":2,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"post":{"type":"string"},"sort":{"default":"best","type":"string","enum":["best","top","newest","controversial","oldest","qa"]},"depth":{"type":"integer","minimum":1,"maximum":10},"limit":{"default":200,"type":"integer","minimum":1,"maximum":500}},"required":["post"],"additionalProperties":false}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"post":{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string","const":"post"},"id":{"type":"string"},"url":{"type":"string","format":"uri"},"title":{"type":"string"},"text":{"type":"string"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"subreddit":{"type":"string"},"score":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"upvotePercent":{"type":"number","minimum":0,"maximum":100},"comments":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"flair":{"type":"string"},"link":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"image":{"type":"string","format":"uri"}},"required":["url"]},"thumbnail":{"type":"string","format":"uri"},"isNsfw":{"type":"boolean"},"isVideo":{"type":"boolean"},"isPinned":{"type":"boolean"},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"video":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"hls":{"type":"string","format":"uri"},"durationSeconds":{"type":"number"}},"required":["url"]},"poll":{"type":"object","additionalProperties":false,"properties":{"options":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"text":{"type":"string"},"votes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":[]}},"totalVotes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"endsAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":[]},"repostOf":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"subreddit":{"type":"string"},"title":{"type":"string"}},"required":[]}},"required":["type","url","score","comments","isNsfw","isVideo","isPinned"]},"comments":{"type":"array","items":{"$ref":"#/components/schemas/redditPost.schema0"}},"commentsCursor":{"type":"string"}},"required":["post","comments"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/reddit/comments/more":{"post":{"operationId":"redditCommentsMore","summary":"reddit.comments.more","description":"Costs 2 credits. Pages with cursor.","x-credits":2,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"default":100,"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","minLength":1,"maxLength":8192}},"required":["cursor"],"additionalProperties":false}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"comments":{"type":"array","items":{"$ref":"#/components/schemas/redditCommentsMore.schema0"}},"cursor":{"type":"string"}},"required":["comments"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/reddit/subreddit":{"post":{"operationId":"redditSubreddit","summary":"reddit.subreddit","description":"Costs 2 credits. Pages with cursor.","x-credits":2,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"subreddit":{"type":"string"},"sort":{"default":"hot","type":"string","enum":["hot","newest","top","rising","controversial"]},"within":{"default":"all","type":"string","enum":["hour","day","week","month","year","all"]},"limit":{"default":25,"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","minLength":1,"maxLength":8192}},"required":["subreddit"],"additionalProperties":false},"example":{"subreddit":"AskReddit"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"subreddit":{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string","const":"subreddit"},"id":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"members":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"avatar":{"type":"string","format":"uri"},"isNsfw":{"type":"boolean"},"rules":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"title":{"type":"string"},"description":{"type":"string"}},"required":[]}}},"required":["type","url","isNsfw"]},"posts":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string","const":"post"},"id":{"type":"string"},"url":{"type":"string","format":"uri"},"title":{"type":"string"},"text":{"type":"string"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"subreddit":{"type":"string"},"score":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"upvotePercent":{"type":"number","minimum":0,"maximum":100},"comments":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"flair":{"type":"string"},"link":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"image":{"type":"string","format":"uri"}},"required":["url"]},"thumbnail":{"type":"string","format":"uri"},"isNsfw":{"type":"boolean"},"isVideo":{"type":"boolean"},"isPinned":{"type":"boolean"},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"video":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"hls":{"type":"string","format":"uri"},"durationSeconds":{"type":"number"}},"required":["url"]},"poll":{"type":"object","additionalProperties":false,"properties":{"options":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"text":{"type":"string"},"votes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":[]}},"totalVotes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"endsAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":[]},"repostOf":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"subreddit":{"type":"string"},"title":{"type":"string"}},"required":[]}},"required":["type","url","score","comments","isNsfw","isVideo","isPinned"]}},"cursor":{"type":"string"}},"required":["posts"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/reddit/user":{"post":{"operationId":"redditUser","summary":"reddit.user","description":"Costs 2 credits. Pages with cursor.","x-credits":2,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"user":{"type":"string"},"tab":{"default":"overview","type":"string","enum":["overview","posts","comments"]},"sort":{"default":"newest","type":"string","enum":["newest","hot","top","controversial"]},"within":{"default":"all","type":"string","enum":["hour","day","week","month","year","all"]},"limit":{"default":25,"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","minLength":1,"maxLength":8192}},"required":["user"],"additionalProperties":false},"example":{"user":"spez"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"user":{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string","const":"user"},"id":{"type":"string"},"username":{"type":"string"},"url":{"type":"string","format":"uri"},"postKarma":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"commentKarma":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":["type","url","isVerified"]},"items":{"type":"array","items":{"oneOf":[{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string","const":"post"},"id":{"type":"string"},"url":{"type":"string","format":"uri"},"title":{"type":"string"},"text":{"type":"string"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"subreddit":{"type":"string"},"score":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"upvotePercent":{"type":"number","minimum":0,"maximum":100},"comments":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"flair":{"type":"string"},"link":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"image":{"type":"string","format":"uri"}},"required":["url"]},"thumbnail":{"type":"string","format":"uri"},"isNsfw":{"type":"boolean"},"isVideo":{"type":"boolean"},"isPinned":{"type":"boolean"},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"video":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"hls":{"type":"string","format":"uri"},"durationSeconds":{"type":"number"}},"required":["url"]},"poll":{"type":"object","additionalProperties":false,"properties":{"options":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"text":{"type":"string"},"votes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":[]}},"totalVotes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"endsAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":[]},"repostOf":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"subreddit":{"type":"string"},"title":{"type":"string"}},"required":[]}},"required":["type","url","score","comments","isNsfw","isVideo","isPinned"]},{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string","const":"comment"},"id":{"type":"string"},"url":{"type":"string","format":"uri"},"text":{"type":"string"},"score":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"subreddit":{"type":"string"},"postId":{"type":"string"},"postTitle":{"type":"string"}},"required":["type","url","score"]}]}},"cursor":{"type":"string"}},"required":["items"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/reddit/domain":{"post":{"operationId":"redditDomain","summary":"reddit.domain","description":"Costs 2 credits. Pages with cursor.","x-credits":2,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"domain":{"type":"string"},"sort":{"default":"newest","type":"string","enum":["hot","newest","top","rising","controversial"]},"within":{"default":"all","type":"string","enum":["hour","day","week","month","year","all"]},"limit":{"default":25,"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","minLength":1,"maxLength":8192}},"required":["domain"],"additionalProperties":false},"example":{"domain":"github.com"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"posts":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string","const":"post"},"id":{"type":"string"},"url":{"type":"string","format":"uri"},"title":{"type":"string"},"text":{"type":"string"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"subreddit":{"type":"string"},"score":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"upvotePercent":{"type":"number","minimum":0,"maximum":100},"comments":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"flair":{"type":"string"},"link":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"image":{"type":"string","format":"uri"}},"required":["url"]},"thumbnail":{"type":"string","format":"uri"},"isNsfw":{"type":"boolean"},"isVideo":{"type":"boolean"},"isPinned":{"type":"boolean"},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"video":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"hls":{"type":"string","format":"uri"},"durationSeconds":{"type":"number"}},"required":["url"]},"poll":{"type":"object","additionalProperties":false,"properties":{"options":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"text":{"type":"string"},"votes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":[]}},"totalVotes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"endsAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":[]},"repostOf":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"subreddit":{"type":"string"},"title":{"type":"string"}},"required":[]}},"required":["type","url","score","comments","isNsfw","isVideo","isPinned"]}},"cursor":{"type":"string"}},"required":["posts"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/maps/search":{"post":{"operationId":"mapsSearch","summary":"maps.search","description":"Costs 3 credits per 20 items.","x-credits":3,"x-per-items":20,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":200},"near":{"type":"string","minLength":2,"maxLength":200},"center":{"type":"object","properties":{"lat":{"type":"number","minimum":-90,"maximum":90},"lng":{"type":"number","minimum":-180,"maximum":180}},"required":["lat","lng"]},"radiusKm":{"default":5,"type":"number","exclusiveMinimum":0,"maximum":100},"limit":{"default":20,"type":"integer","minimum":1,"maximum":1000},"country":{"default":"us","type":"string","pattern":"^[A-Za-z]{2}$","description":"ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted."},"language":{"default":"en","type":"string","pattern":"^[A-Za-z]{2,3}(?:[-_][A-Za-z0-9]{2,4})?$","description":"BCP 47 language tag, e.g. en or pt-BR. Any case is accepted."}},"required":["query"],"additionalProperties":false},"example":{"query":"coffee","near":"Austin, TX","limit":20}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"places":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"placeId":{"type":"string"},"url":{"type":"string","format":"uri"},"name":{"type":"string"},"categories":{"type":"array","items":{"type":"string"}},"address":{"type":"object","additionalProperties":false,"properties":{"full":{"type":"string"},"street":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postalCode":{"type":"string"},"country":{"type":"string"}},"required":[]},"location":{"type":"object","additionalProperties":false,"properties":{"lat":{"type":"number","minimum":-90,"maximum":90},"lng":{"type":"number","minimum":-180,"maximum":180}},"required":["lat","lng"]},"rating":{"type":"number"},"photos":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"phone":{"type":"string"},"website":{"type":"string","format":"uri"},"description":{"type":"string"},"hoursToday":{"type":"string"},"openStatus":{"type":"string"},"timezone":{"type":"string"},"plusCode":{"type":"string"},"thumbnail":{"type":"string","format":"uri"},"reservation":{"type":"string","format":"uri"},"attributes":{"type":"array","items":{"type":"string"}}},"required":["url","location"]}}},"required":["places"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/maps/place":{"post":{"operationId":"mapsPlace","summary":"maps.place","description":"Costs 2 credits.","x-credits":2,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"place":{"type":"string"},"country":{"default":"us","type":"string","pattern":"^[A-Za-z]{2}$","description":"ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted."},"language":{"default":"en","type":"string","pattern":"^[A-Za-z]{2,3}(?:[-_][A-Za-z0-9]{2,4})?$","description":"BCP 47 language tag, e.g. en or pt-BR. Any case is accepted."}},"required":["place"],"additionalProperties":false}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"place":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"placeId":{"type":"string"},"url":{"type":"string","format":"uri"},"name":{"type":"string"},"categories":{"type":"array","items":{"type":"string"}},"address":{"type":"object","additionalProperties":false,"properties":{"full":{"type":"string"},"street":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postalCode":{"type":"string"},"country":{"type":"string"}},"required":[]},"location":{"type":"object","additionalProperties":false,"properties":{"lat":{"type":"number","minimum":-90,"maximum":90},"lng":{"type":"number","minimum":-180,"maximum":180}},"required":["lat","lng"]},"rating":{"type":"number"},"photos":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"phone":{"type":"string"},"website":{"type":"string","format":"uri"},"description":{"type":"string"},"hoursToday":{"type":"string"},"openStatus":{"type":"string"},"timezone":{"type":"string"},"plusCode":{"type":"string"},"thumbnail":{"type":"string","format":"uri"},"reservation":{"type":"string","format":"uri"},"attributes":{"type":"array","items":{"type":"string"}}},"required":["url","location"]}},"required":["place"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/maps/reviews":{"post":{"operationId":"mapsReviews","summary":"maps.reviews","description":"Costs 1 credit per 10 items. Pages with cursor.","x-credits":1,"x-per-items":10,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"place":{"type":"string"},"sort":{"default":"newest","type":"string","enum":["relevance","newest","highest","lowest"]},"limit":{"default":20,"type":"integer","minimum":1,"maximum":500},"cursor":{"type":"string","minLength":1,"maxLength":4096},"from":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"language":{"default":"en","type":"string","pattern":"^[A-Za-z]{2,3}(?:[-_][A-Za-z0-9]{2,4})?$","description":"BCP 47 language tag, e.g. en or pt-BR. Any case is accepted."}},"required":["place"],"additionalProperties":false}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"reviews":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"rating":{"type":"integer","minimum":1,"maximum":5},"text":{"type":"string"},"language":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"},"reviews":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"photos":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"isLocalGuide":{"type":"boolean"}},"required":["isLocalGuide"]},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"details":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"label":{"type":"string"},"value":{"type":"string"},"rating":{"type":"number"}},"required":[]}},"ownerReply":{"type":"object","additionalProperties":false,"properties":{"text":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":[]}},"required":["rating","author"]}},"cursor":{"type":"string"}},"required":["reviews"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/instagram/profile":{"post":{"operationId":"instagramProfile","summary":"instagram.profile","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"user":{"type":"string"},"includePosts":{"default":true,"type":"boolean"}},"required":["user"],"additionalProperties":false},"example":{"user":"natgeo"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"profile":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"url":{"type":"string","format":"uri"},"name":{"type":"string"},"bio":{"type":"string"},"bioLinks":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"}},"required":["url"]}},"pronouns":{"type":"array","items":{"type":"string"}},"isVerified":{"type":"boolean"},"isPrivate":{"type":"boolean"},"followers":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"following":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"posts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"avatar":{"type":"string","format":"uri"}},"required":["url","isVerified","isPrivate"]},"stats":{"type":"object","additionalProperties":false,"properties":{"postsAnalyzed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"averageLikes":{"type":"number"},"averageComments":{"type":"number"},"engagementRate":{"type":"number"},"postsPerWeek":{"type":"number"},"lastPostAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["postsAnalyzed"]},"posts":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"code":{"type":"string"},"url":{"type":"string","format":"uri"},"type":{"type":"string","enum":["photo","video","reel","carousel"]},"text":{"type":"string"},"hashtags":{"type":"array","items":{"type":"string"}},"mentions":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"comments":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"views":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"width":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"height":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"thumbnail":{"type":"string","format":"uri"},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"videos":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"}},"required":["url"]}},"imageDescription":{"type":"string"},"isPinned":{"type":"boolean"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"taggedUsers":{"type":"array","items":{"type":"string"}},"coauthors":{"type":"array","items":{"type":"string"}},"audio":{"type":"object","additionalProperties":false,"properties":{"title":{"type":"string"},"artist":{"type":"string"},"isOriginal":{"type":"boolean"}},"required":["isOriginal"]},"isPaidPartnership":{"type":"boolean"},"sponsors":{"type":"array","items":{"type":"string"}}},"required":["url","type","isPinned","isPaidPartnership"]}}},"required":["profile","posts"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/instagram/posts":{"post":{"operationId":"instagramPosts","summary":"instagram.posts","description":"Costs 1 credit per 12 items. Pages with cursor.","x-credits":1,"x-per-items":12,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"user":{"type":"string"},"type":{"default":"all","type":"string","enum":["all","reels","videos","photos"]},"limit":{"default":12,"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","pattern":"^(?:\\d{1,4}~(?:\\d+_\\d+)?|(?:\\d+_\\d+))$"},"from":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"to":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"includeViews":{"default":false,"type":"boolean"}},"required":["user"],"additionalProperties":false},"example":{"user":"natgeo","limit":12}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"posts":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"code":{"type":"string"},"url":{"type":"string","format":"uri"},"type":{"type":"string","enum":["photo","video","reel","carousel"]},"text":{"type":"string"},"hashtags":{"type":"array","items":{"type":"string"}},"mentions":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"comments":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"views":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"width":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"height":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"thumbnail":{"type":"string","format":"uri"},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"videos":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"}},"required":["url"]}},"imageDescription":{"type":"string"},"isPinned":{"type":"boolean"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"taggedUsers":{"type":"array","items":{"type":"string"}},"coauthors":{"type":"array","items":{"type":"string"}},"audio":{"type":"object","additionalProperties":false,"properties":{"title":{"type":"string"},"artist":{"type":"string"},"isOriginal":{"type":"boolean"}},"required":["isOriginal"]},"isPaidPartnership":{"type":"boolean"},"sponsors":{"type":"array","items":{"type":"string"}}},"required":["url","type","isPinned","isPaidPartnership"]}},"cursor":{"type":"string"}},"required":["posts"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/instagram/post":{"post":{"operationId":"instagramPost","summary":"instagram.post","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"post":{"type":"string"},"includeComments":{"default":true,"type":"boolean"}},"required":["post"],"additionalProperties":false}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"post":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"code":{"type":"string"},"url":{"type":"string","format":"uri"},"type":{"type":"string","enum":["photo","video","reel","carousel"]},"text":{"type":"string"},"hashtags":{"type":"array","items":{"type":"string"}},"mentions":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"comments":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"views":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"width":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"height":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"thumbnail":{"type":"string","format":"uri"},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"videos":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"}},"required":["url"]}},"imageDescription":{"type":"string"},"isPinned":{"type":"boolean"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"taggedUsers":{"type":"array","items":{"type":"string"}},"coauthors":{"type":"array","items":{"type":"string"}},"audio":{"type":"object","additionalProperties":false,"properties":{"title":{"type":"string"},"artist":{"type":"string"},"isOriginal":{"type":"boolean"}},"required":["isOriginal"]},"isPaidPartnership":{"type":"boolean"},"sponsors":{"type":"array","items":{"type":"string"}}},"required":["url","type","isPinned","isPaidPartnership"]},"comments":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"text":{"type":"string"},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"replies":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["url","likes","replies"]}}},"required":["post","comments"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/instagram/url":{"post":{"operationId":"instagramUrl","summary":"instagram.url","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"}},"required":["url"],"additionalProperties":false},"example":{"url":"https://www.instagram.com/natgeo/"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"oneOf":[{"type":"object","additionalProperties":false,"properties":{"kind":{"type":"string","const":"profile"},"profile":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"url":{"type":"string","format":"uri"},"name":{"type":"string"},"bio":{"type":"string"},"bioLinks":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"}},"required":["url"]}},"pronouns":{"type":"array","items":{"type":"string"}},"isVerified":{"type":"boolean"},"isPrivate":{"type":"boolean"},"followers":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"following":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"posts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"avatar":{"type":"string","format":"uri"}},"required":["url","isVerified","isPrivate"]},"stats":{"type":"object","additionalProperties":false,"properties":{"postsAnalyzed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"averageLikes":{"type":"number"},"averageComments":{"type":"number"},"engagementRate":{"type":"number"},"postsPerWeek":{"type":"number"},"lastPostAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["postsAnalyzed"]},"posts":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"code":{"type":"string"},"url":{"type":"string","format":"uri"},"type":{"type":"string","enum":["photo","video","reel","carousel"]},"text":{"type":"string"},"hashtags":{"type":"array","items":{"type":"string"}},"mentions":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"comments":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"views":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"width":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"height":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"thumbnail":{"type":"string","format":"uri"},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"videos":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"}},"required":["url"]}},"imageDescription":{"type":"string"},"isPinned":{"type":"boolean"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"taggedUsers":{"type":"array","items":{"type":"string"}},"coauthors":{"type":"array","items":{"type":"string"}},"audio":{"type":"object","additionalProperties":false,"properties":{"title":{"type":"string"},"artist":{"type":"string"},"isOriginal":{"type":"boolean"}},"required":["isOriginal"]},"isPaidPartnership":{"type":"boolean"},"sponsors":{"type":"array","items":{"type":"string"}}},"required":["url","type","isPinned","isPaidPartnership"]}}},"required":["kind","profile"]},{"type":"object","additionalProperties":false,"properties":{"kind":{"type":"string","const":"post"},"post":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"code":{"type":"string"},"url":{"type":"string","format":"uri"},"type":{"type":"string","enum":["photo","video","reel","carousel"]},"text":{"type":"string"},"hashtags":{"type":"array","items":{"type":"string"}},"mentions":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"comments":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"views":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"width":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"height":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"thumbnail":{"type":"string","format":"uri"},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"videos":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"}},"required":["url"]}},"imageDescription":{"type":"string"},"isPinned":{"type":"boolean"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"taggedUsers":{"type":"array","items":{"type":"string"}},"coauthors":{"type":"array","items":{"type":"string"}},"audio":{"type":"object","additionalProperties":false,"properties":{"title":{"type":"string"},"artist":{"type":"string"},"isOriginal":{"type":"boolean"}},"required":["isOriginal"]},"isPaidPartnership":{"type":"boolean"},"sponsors":{"type":"array","items":{"type":"string"}}},"required":["url","type","isPinned","isPaidPartnership"]},"comments":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"text":{"type":"string"},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"replies":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["url","likes","replies"]}}},"required":["kind","post"]}]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/instagram/search":{"post":{"operationId":"instagramSearch","summary":"instagram.search","description":"Costs 3 credits per 10 items.","x-credits":3,"x-per-items":10,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":200},"type":{"default":"all","type":"string","enum":["all","posts","reels"]},"within":{"default":"all","type":"string","enum":["hour","day","week","month","year","all"]},"limit":{"default":10,"type":"integer","minimum":1,"maximum":50}},"required":["query"],"additionalProperties":false},"example":{"query":"street food","limit":5}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"posts":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"code":{"type":"string"},"url":{"type":"string","format":"uri"},"type":{"type":"string","enum":["photo","video","reel","carousel"]},"text":{"type":"string"},"hashtags":{"type":"array","items":{"type":"string"}},"mentions":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"comments":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"views":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"width":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"height":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"thumbnail":{"type":"string","format":"uri"},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"videos":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"}},"required":["url"]}},"imageDescription":{"type":"string"},"isPinned":{"type":"boolean"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"taggedUsers":{"type":"array","items":{"type":"string"}},"coauthors":{"type":"array","items":{"type":"string"}},"audio":{"type":"object","additionalProperties":false,"properties":{"title":{"type":"string"},"artist":{"type":"string"},"isOriginal":{"type":"boolean"}},"required":["isOriginal"]},"isPaidPartnership":{"type":"boolean"},"sponsors":{"type":"array","items":{"type":"string"}}},"required":["url","type","isPinned","isPaidPartnership"]}}},"required":["posts"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/instagram/transcript":{"post":{"operationId":"instagramTranscript","summary":"instagram.transcript","description":"Costs 5 credits per 1 items.","x-credits":5,"x-per-items":1,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"post":{"type":"string"},"language":{"type":"string","pattern":"^[A-Za-z]{2}$","description":"BCP 47 language tag, e.g. en or pt-BR. Any case is accepted."},"includeTimestamps":{"default":false,"type":"boolean"},"limit":{"default":1,"type":"integer","minimum":1,"maximum":20}},"required":["post"],"additionalProperties":false}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"transcripts":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"language":{"type":"string"},"isAutoGenerated":{"type":"boolean"},"durationSeconds":{"type":"number"},"text":{"type":"string"},"segments":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"startSeconds":{"type":"number"},"endSeconds":{"type":"number"},"text":{"type":"string"}},"required":["startSeconds","endSeconds"]}}},"required":["url","isAutoGenerated"]}}},"required":["url","transcripts"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/instagram/comments":{"post":{"operationId":"instagramComments","summary":"instagram.comments","description":"Costs 1 credit per 15 items. Pages with cursor.","x-credits":1,"x-per-items":15,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"post":{"type":"string"},"limit":{"default":50,"type":"integer","minimum":1,"maximum":500},"cursor":{"type":"string","minLength":1,"maxLength":4096}},"required":["post"],"additionalProperties":false}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"comments":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"text":{"type":"string"},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"replies":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["url","likes","replies"]}},"cursor":{"type":"string"}},"required":["comments"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/instagram/comments/replies":{"post":{"operationId":"instagramCommentsReplies","summary":"instagram.comments.replies","description":"Costs 1 credit per 15 items. Pages with cursor.","x-credits":1,"x-per-items":15,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"post":{"type":"string"},"comment":{"type":"string"},"limit":{"default":50,"type":"integer","minimum":1,"maximum":500},"cursor":{"type":"string","minLength":1,"maxLength":4096}},"required":["post","comment"],"additionalProperties":false}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"replies":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"text":{"type":"string"},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"replies":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["url","likes","replies"]}},"cursor":{"type":"string"}},"required":["replies"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/tiktok/profile":{"post":{"operationId":"tiktokProfile","summary":"tiktok.profile","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"user":{"type":"string"}},"required":["user"],"additionalProperties":false},"example":{"user":"khaby.lame"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"profile":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"secUid":{"type":"string"},"username":{"type":"string"},"url":{"type":"string","format":"uri"},"name":{"type":"string"},"bio":{"type":"string"},"bioLinks":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"}},"required":["url"]}},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"},"isPrivate":{"type":"boolean"},"isOrganization":{"type":"boolean"},"language":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"followers":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"following":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"videos":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["url","isVerified","isPrivate","isOrganization"]}},"required":["profile"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/tiktok/video":{"post":{"operationId":"tiktokVideo","summary":"tiktok.video","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"video":{"type":"string"}},"required":["video"],"additionalProperties":false},"example":{"video":"7652012587009215774"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"video":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"type":{"type":"string","enum":["video","photo"]},"text":{"type":"string"},"hashtags":{"type":"array","items":{"type":"string"}},"mentions":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"durationSeconds":{"type":"number"},"width":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"height":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"thumbnail":{"type":"string","format":"uri"},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"views":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"comments":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"shares":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"saves":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"audio":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"title":{"type":"string"},"artist":{"type":"string"},"isOriginal":{"type":"boolean"}},"required":["isOriginal"]},"country":{"type":"string"},"isAd":{"type":"boolean"},"isAiGenerated":{"type":"boolean"}},"required":["url","type","isAd","isAiGenerated"]}},"required":["video"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/tiktok/url":{"post":{"operationId":"tiktokUrl","summary":"tiktok.url","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"}},"required":["url"],"additionalProperties":false},"example":{"url":"https://www.tiktok.com/@nasa"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"oneOf":[{"type":"object","additionalProperties":false,"properties":{"kind":{"type":"string","const":"profile"},"profile":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"secUid":{"type":"string"},"username":{"type":"string"},"url":{"type":"string","format":"uri"},"name":{"type":"string"},"bio":{"type":"string"},"bioLinks":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"}},"required":["url"]}},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"},"isPrivate":{"type":"boolean"},"isOrganization":{"type":"boolean"},"language":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"followers":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"following":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"videos":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["url","isVerified","isPrivate","isOrganization"]}},"required":["kind","profile"]},{"type":"object","additionalProperties":false,"properties":{"kind":{"type":"string","const":"video"},"video":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"type":{"type":"string","enum":["video","photo"]},"text":{"type":"string"},"hashtags":{"type":"array","items":{"type":"string"}},"mentions":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"durationSeconds":{"type":"number"},"width":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"height":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"thumbnail":{"type":"string","format":"uri"},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"views":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"comments":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"shares":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"saves":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"audio":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"title":{"type":"string"},"artist":{"type":"string"},"isOriginal":{"type":"boolean"}},"required":["isOriginal"]},"country":{"type":"string"},"isAd":{"type":"boolean"},"isAiGenerated":{"type":"boolean"}},"required":["url","type","isAd","isAiGenerated"]}},"required":["kind","video"]}]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/tiktok/transcript":{"post":{"operationId":"tiktokTranscript","summary":"tiktok.transcript","description":"Costs 5 credits.","x-credits":5,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"video":{"type":"string"},"language":{"type":"string","pattern":"^[A-Za-z]{2}$","description":"BCP 47 language tag, e.g. en or pt-BR. Any case is accepted."},"includeTimestamps":{"default":false,"type":"boolean"}},"required":["video"],"additionalProperties":false},"example":{"video":"7640167378633919758"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"language":{"type":"string"},"isAutoGenerated":{"type":"boolean"},"durationSeconds":{"type":"number"},"text":{"type":"string"},"segments":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"startSeconds":{"type":"number"},"endSeconds":{"type":"number"},"text":{"type":"string"}},"required":["startSeconds","endSeconds"]}}},"required":["url","isAutoGenerated"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/tiktok/posts":{"post":{"operationId":"tiktokPosts","summary":"tiktok.posts","description":"Costs 1 credit per 30 items. Pages with cursor.","x-credits":1,"x-per-items":30,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"user":{"type":"string"},"limit":{"default":30,"type":"integer","minimum":1,"maximum":300},"cursor":{"type":"string","pattern":"^(?:\\d{1,4}~(?:\\d{1,20})?|(?:\\d{1,20}))$"}},"required":["user"],"additionalProperties":false},"example":{"user":"khaby.lame"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"posts":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"type":{"type":"string","enum":["video","photo"]},"text":{"type":"string"},"hashtags":{"type":"array","items":{"type":"string"}},"mentions":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"durationSeconds":{"type":"number"},"width":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"height":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"thumbnail":{"type":"string","format":"uri"},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"views":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"comments":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"shares":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"saves":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"audio":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"title":{"type":"string"},"artist":{"type":"string"},"isOriginal":{"type":"boolean"}},"required":["isOriginal"]},"isAd":{"type":"boolean"},"isAiGenerated":{"type":"boolean"}},"required":["url","type","isAd","isAiGenerated"]}},"cursor":{"type":"string"}},"required":["posts"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/tiktok/hashtag":{"post":{"operationId":"tiktokHashtag","summary":"tiktok.hashtag","description":"Costs 1 credit per 30 items. Pages with cursor.","x-credits":1,"x-per-items":30,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"hashtag":{"type":"string"},"limit":{"default":30,"type":"integer","minimum":1,"maximum":300},"cursor":{"type":"string","pattern":"^(?:\\d{1,4}~(?:\\d{1,20})?|(?:\\d{1,20}))$"}},"required":["hashtag"],"additionalProperties":false},"example":{"hashtag":"booktok","limit":15}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"videos":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"type":{"type":"string","enum":["video","photo"]},"text":{"type":"string"},"hashtags":{"type":"array","items":{"type":"string"}},"mentions":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"durationSeconds":{"type":"number"},"width":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"height":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"thumbnail":{"type":"string","format":"uri"},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"views":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"comments":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"shares":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"saves":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"audio":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"title":{"type":"string"},"artist":{"type":"string"},"isOriginal":{"type":"boolean"}},"required":["isOriginal"]},"isAd":{"type":"boolean"},"isAiGenerated":{"type":"boolean"}},"required":["url","type","isAd","isAiGenerated"]}},"cursor":{"type":"string"}},"required":["videos"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/tiktok/comments":{"post":{"operationId":"tiktokComments","summary":"tiktok.comments","description":"Costs 1 credit per 20 items. Pages with cursor.","x-credits":1,"x-per-items":20,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"video":{"type":"string"},"limit":{"default":50,"type":"integer","minimum":1,"maximum":500},"cursor":{"type":"string","pattern":"^(?:\\d{1,4}~(?:\\d{1,20})?|(?:\\d{1,20}))$"}},"required":["video"],"additionalProperties":false},"example":{"video":"7652012587009215774","limit":20}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"comments":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"text":{"type":"string"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"replies":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["likes","replies"]}},"cursor":{"type":"string"}},"required":["comments"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/tiktok/comments/replies":{"post":{"operationId":"tiktokCommentsReplies","summary":"tiktok.comments.replies","description":"Costs 1 credit per 20 items. Pages with cursor.","x-credits":1,"x-per-items":20,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"video":{"type":"string"},"comment":{"type":"string","pattern":"^\\d{5,25}$"},"limit":{"default":20,"type":"integer","minimum":1,"maximum":200},"cursor":{"type":"string","pattern":"^(?:\\d{1,4}~(?:\\d{1,20})?|(?:\\d{1,20}))$"}},"required":["video","comment"],"additionalProperties":false}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"replies":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"text":{"type":"string"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"replies":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["likes","replies"]}},"cursor":{"type":"string"}},"required":["replies"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/tiktok/search":{"post":{"operationId":"tiktokSearch","summary":"tiktok.search","description":"Costs 1 credit per 12 items. Pages with cursor.","x-credits":1,"x-per-items":12,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":200},"type":{"default":"videos","type":"string","enum":["videos","users"]},"limit":{"default":12,"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","pattern":"^(?:\\d{1,4}~(?:\\d{1,6}:[\\w-]{1,80})?|(?:\\d{1,6}:[\\w-]{1,80}))$"}},"required":["query"],"additionalProperties":false},"example":{"query":"street food"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"videos":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"type":{"type":"string","enum":["video","photo"]},"text":{"type":"string"},"hashtags":{"type":"array","items":{"type":"string"}},"mentions":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"durationSeconds":{"type":"number"},"width":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"height":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"thumbnail":{"type":"string","format":"uri"},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"views":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"comments":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"shares":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"saves":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"audio":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"title":{"type":"string"},"artist":{"type":"string"},"isOriginal":{"type":"boolean"}},"required":["isOriginal"]},"isAd":{"type":"boolean"},"isAiGenerated":{"type":"boolean"}},"required":["url","type","isAd","isAiGenerated"]}},"users":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"secUid":{"type":"string"},"username":{"type":"string"},"url":{"type":"string","format":"uri"},"name":{"type":"string"},"bio":{"type":"string"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"},"followers":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["url","isVerified"]}},"cursor":{"type":"string"}},"required":["videos","users"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/bluesky/profile":{"post":{"operationId":"blueskyProfile","summary":"bluesky.profile","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"user":{"type":"string"}},"required":["user"],"additionalProperties":false},"example":{"user":"bsky.app"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"profile":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"did":{"type":"string"},"username":{"type":"string"},"url":{"type":"string","format":"uri"},"name":{"type":"string"},"bio":{"type":"string"},"avatar":{"type":"string","format":"uri"},"banner":{"type":"string","format":"uri"},"followers":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"following":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"posts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"isVerified":{"type":"boolean"},"pinnedPost":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["url","isVerified"]}},"required":["profile"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/bluesky/posts":{"post":{"operationId":"blueskyPosts","summary":"bluesky.posts","description":"Costs 1 credit per 25 items. Pages with cursor.","x-credits":1,"x-per-items":25,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"user":{"type":"string"},"type":{"default":"all","type":"string","enum":["all","posts","media","video","threads"]},"limit":{"default":50,"type":"integer","minimum":1,"maximum":500},"cursor":{"type":"string","pattern":"^[\\w:.+=/-]{1,512}$"}},"required":["user"],"additionalProperties":false},"example":{"user":"bsky.app","limit":50}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"posts":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"cid":{"type":"string"},"url":{"type":"string","format":"uri"},"text":{"type":"string"},"language":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reposts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"replies":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"quotes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"replyTo":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"username":{"type":"string"}},"required":[]},"repostedBy":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"hashtags":{"type":"array","items":{"type":"string"}},"mentions":{"type":"array","items":{"type":"string"}},"links":{"type":"array","items":{"type":"string"}},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"thumbnail":{"type":"string","format":"uri"},"alt":{"type":"string"}},"required":["url"]}},"video":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"thumbnail":{"type":"string","format":"uri"},"alt":{"type":"string"}},"required":["url"]},"link":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"image":{"type":"string","format":"uri"}},"required":["url"]},"quoted":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"text":{"type":"string"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]}},"required":["url"]}},"required":["url","likes","reposts","replies","quotes"]}},"cursor":{"type":"string"}},"required":["posts"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/bluesky/post":{"post":{"operationId":"blueskyPost","summary":"bluesky.post","description":"Costs 1 credit per 50 items.","x-credits":1,"x-per-items":50,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"post":{"type":"string"},"depth":{"default":3,"type":"integer","minimum":0,"maximum":10},"limit":{"default":100,"type":"integer","minimum":1,"maximum":500}},"required":["post"],"additionalProperties":false}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"post":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"cid":{"type":"string"},"url":{"type":"string","format":"uri"},"text":{"type":"string"},"language":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reposts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"replies":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"quotes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"replyTo":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"username":{"type":"string"}},"required":[]},"repostedBy":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"hashtags":{"type":"array","items":{"type":"string"}},"mentions":{"type":"array","items":{"type":"string"}},"links":{"type":"array","items":{"type":"string"}},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"thumbnail":{"type":"string","format":"uri"},"alt":{"type":"string"}},"required":["url"]}},"video":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"thumbnail":{"type":"string","format":"uri"},"alt":{"type":"string"}},"required":["url"]},"link":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"image":{"type":"string","format":"uri"}},"required":["url"]},"quoted":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"text":{"type":"string"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]}},"required":["url"]}},"required":["url","likes","reposts","replies","quotes"]},"replies":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"cid":{"type":"string"},"url":{"type":"string","format":"uri"},"text":{"type":"string"},"language":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reposts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"replies":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"quotes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"replyTo":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"username":{"type":"string"}},"required":[]},"repostedBy":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"hashtags":{"type":"array","items":{"type":"string"}},"mentions":{"type":"array","items":{"type":"string"}},"links":{"type":"array","items":{"type":"string"}},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"thumbnail":{"type":"string","format":"uri"},"alt":{"type":"string"}},"required":["url"]}},"video":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"thumbnail":{"type":"string","format":"uri"},"alt":{"type":"string"}},"required":["url"]},"link":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"image":{"type":"string","format":"uri"}},"required":["url"]},"quoted":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"text":{"type":"string"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]}},"required":["url"]},"depth":{"type":"integer","minimum":1,"maximum":9007199254740991}},"required":["url","likes","reposts","replies","quotes","depth"]}}},"required":["post","replies"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/bluesky/followers":{"post":{"operationId":"blueskyFollowers","summary":"bluesky.followers","description":"Costs 1 credit per 50 items. Pages with cursor.","x-credits":1,"x-per-items":50,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"user":{"type":"string"},"limit":{"default":100,"type":"integer","minimum":1,"maximum":1000},"cursor":{"type":"string","pattern":"^[\\w:.+=/-]{1,512}$"}},"required":["user"],"additionalProperties":false},"example":{"user":"bsky.app","limit":50}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"followers":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"did":{"type":"string"},"username":{"type":"string"},"url":{"type":"string","format":"uri"},"name":{"type":"string"},"bio":{"type":"string"},"avatar":{"type":"string","format":"uri"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["url"]}},"cursor":{"type":"string"}},"required":["followers"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/mastodon/profile":{"post":{"operationId":"mastodonProfile","summary":"mastodon.profile","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"user":{"type":"string"}},"required":["user"],"additionalProperties":false},"example":{"user":"Gargron@mastodon.social"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"profile":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"url":{"type":"string","format":"uri"},"name":{"type":"string"},"bio":{"type":"string"},"bioHtml":{"type":"string"},"avatar":{"type":"string","format":"uri"},"banner":{"type":"string","format":"uri"},"followers":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"following":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"posts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"isBot":{"type":"boolean"},"isLocked":{"type":"boolean"},"isGroup":{"type":"boolean"},"fields":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"value":{"type":"string"},"verifiedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":[]}},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"lastPostAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["url","isBot","isLocked","isGroup"]}},"required":["profile"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/mastodon/posts":{"post":{"operationId":"mastodonPosts","summary":"mastodon.posts","description":"Costs 1 credit per 20 items. Pages with cursor.","x-credits":1,"x-per-items":20,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"user":{"type":"string"},"excludeReplies":{"default":false,"type":"boolean"},"excludeReposts":{"default":false,"type":"boolean"},"limit":{"default":40,"type":"integer","minimum":1,"maximum":200},"cursor":{"type":"string","pattern":"^[\\dA-Za-z]{1,40}$"}},"required":["user"],"additionalProperties":false},"example":{"user":"Gargron@mastodon.social","limit":40}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"posts":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"uri":{"type":"string"},"text":{"type":"string"},"html":{"type":"string"},"spoiler":{"type":"string"},"language":{"type":"string"},"visibility":{"type":"string"},"isSensitive":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"editedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"replyTo":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"username":{"type":"string"}},"required":[]},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"replies":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reposts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"quotes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"repostedBy":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"hashtags":{"type":"array","items":{"type":"string"}},"mentions":{"type":"array","items":{"type":"string"}},"media":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string"},"url":{"type":"string","format":"uri"},"thumbnail":{"type":"string","format":"uri"},"description":{"type":"string"}},"required":["url"]}},"link":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"image":{"type":"string","format":"uri"}},"required":["url"]}},"required":["url","isSensitive","replies","reposts","likes","quotes"]}},"cursor":{"type":"string"}},"required":["posts"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/mastodon/post":{"post":{"operationId":"mastodonPost","summary":"mastodon.post","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"post":{"type":"string"}},"required":["post"],"additionalProperties":false}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"post":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"uri":{"type":"string"},"text":{"type":"string"},"html":{"type":"string"},"spoiler":{"type":"string"},"language":{"type":"string"},"visibility":{"type":"string"},"isSensitive":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"editedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"replyTo":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"username":{"type":"string"}},"required":[]},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"replies":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reposts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"quotes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"repostedBy":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"hashtags":{"type":"array","items":{"type":"string"}},"mentions":{"type":"array","items":{"type":"string"}},"media":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string"},"url":{"type":"string","format":"uri"},"thumbnail":{"type":"string","format":"uri"},"description":{"type":"string"}},"required":["url"]}},"link":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"image":{"type":"string","format":"uri"}},"required":["url"]}},"required":["url","isSensitive","replies","reposts","likes","quotes"]},"ancestors":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"uri":{"type":"string"},"text":{"type":"string"},"html":{"type":"string"},"spoiler":{"type":"string"},"language":{"type":"string"},"visibility":{"type":"string"},"isSensitive":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"editedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"replyTo":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"username":{"type":"string"}},"required":[]},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"replies":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reposts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"quotes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"repostedBy":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"hashtags":{"type":"array","items":{"type":"string"}},"mentions":{"type":"array","items":{"type":"string"}},"media":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string"},"url":{"type":"string","format":"uri"},"thumbnail":{"type":"string","format":"uri"},"description":{"type":"string"}},"required":["url"]}},"link":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"image":{"type":"string","format":"uri"}},"required":["url"]}},"required":["url","isSensitive","replies","reposts","likes","quotes"]}},"replies":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"uri":{"type":"string"},"text":{"type":"string"},"html":{"type":"string"},"spoiler":{"type":"string"},"language":{"type":"string"},"visibility":{"type":"string"},"isSensitive":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"editedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"replyTo":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"username":{"type":"string"}},"required":[]},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"replies":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reposts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"quotes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"repostedBy":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"hashtags":{"type":"array","items":{"type":"string"}},"mentions":{"type":"array","items":{"type":"string"}},"media":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string"},"url":{"type":"string","format":"uri"},"thumbnail":{"type":"string","format":"uri"},"description":{"type":"string"}},"required":["url"]}},"link":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"image":{"type":"string","format":"uri"}},"required":["url"]}},"required":["url","isSensitive","replies","reposts","likes","quotes"]}}},"required":["post","ancestors","replies"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/mastodon/hashtag":{"post":{"operationId":"mastodonHashtag","summary":"mastodon.hashtag","description":"Costs 1 credit per 20 items. Pages with cursor.","x-credits":1,"x-per-items":20,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"hashtag":{"type":"string"},"instance":{"type":"string"},"limit":{"default":40,"type":"integer","minimum":1,"maximum":200},"cursor":{"type":"string","pattern":"^[\\dA-Za-z]{1,40}$"}},"required":["hashtag"],"additionalProperties":false},"example":{"hashtag":"caturday","limit":40}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"posts":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"uri":{"type":"string"},"text":{"type":"string"},"html":{"type":"string"},"spoiler":{"type":"string"},"language":{"type":"string"},"visibility":{"type":"string"},"isSensitive":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"editedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"replyTo":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"username":{"type":"string"}},"required":[]},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"replies":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reposts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"quotes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"repostedBy":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"hashtags":{"type":"array","items":{"type":"string"}},"mentions":{"type":"array","items":{"type":"string"}},"media":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string"},"url":{"type":"string","format":"uri"},"thumbnail":{"type":"string","format":"uri"},"description":{"type":"string"}},"required":["url"]}},"link":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"image":{"type":"string","format":"uri"}},"required":["url"]}},"required":["url","isSensitive","replies","reposts","likes","quotes"]}},"cursor":{"type":"string"}},"required":["posts"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/threads/profile":{"post":{"operationId":"threadsProfile","summary":"threads.profile","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"user":{"type":"string"}},"required":["user"],"additionalProperties":false},"example":{"user":"zuck"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"profile":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"url":{"type":"string","format":"uri"},"name":{"type":"string"},"bio":{"type":"string"},"bioLinks":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"}},"required":["url"]}},"isVerified":{"type":"boolean"},"isPrivate":{"type":"boolean"},"followers":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"avatar":{"type":"string","format":"uri"}},"required":["url","isVerified","isPrivate"]}},"required":["profile"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/threads/posts":{"post":{"operationId":"threadsPosts","summary":"threads.posts","description":"Costs 1 credit per 20 items. Pages with cursor.","x-credits":1,"x-per-items":20,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"user":{"type":"string"},"limit":{"default":20,"type":"integer","minimum":1,"maximum":200},"cursor":{"type":"string","minLength":1,"pattern":"^(?:\\d+~)?(?:[A-Za-z0-9+/_=-]{16,16000})?$"}},"required":["user"],"additionalProperties":false},"example":{"user":"zuck","limit":20}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"posts":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"code":{"type":"string"},"url":{"type":"string","format":"uri"},"type":{"type":"string","enum":["text","photo","video","carousel"]},"text":{"type":"string"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"replies":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reposts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"quotes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"shares":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"videos":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"}},"required":["url"]}},"link":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"image":{"type":"string","format":"uri"}},"required":["url"]},"isReply":{"type":"boolean"},"replyTo":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"username":{"type":"string"}},"required":[]},"isPinned":{"type":"boolean"},"quoted":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"code":{"type":"string"},"url":{"type":"string","format":"uri"},"type":{"type":"string","enum":["text","photo","video","carousel"]},"text":{"type":"string"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"replies":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reposts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"quotes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"shares":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"videos":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"}},"required":["url"]}},"link":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"image":{"type":"string","format":"uri"}},"required":["url"]},"isReply":{"type":"boolean"},"replyTo":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"username":{"type":"string"}},"required":[]},"isPinned":{"type":"boolean"}},"required":["url","type","isReply","isPinned"]},"repostOf":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"code":{"type":"string"},"url":{"type":"string","format":"uri"},"type":{"type":"string","enum":["text","photo","video","carousel"]},"text":{"type":"string"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"replies":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reposts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"quotes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"shares":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"videos":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"}},"required":["url"]}},"link":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"image":{"type":"string","format":"uri"}},"required":["url"]},"isReply":{"type":"boolean"},"replyTo":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"username":{"type":"string"}},"required":[]},"isPinned":{"type":"boolean"}},"required":["url","type","isReply","isPinned"]}},"required":["url","type","isReply","isPinned"]}},"cursor":{"type":"string"}},"required":["posts"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/threads/post":{"post":{"operationId":"threadsPost","summary":"threads.post","description":"Costs 1 credit. Pages with cursor.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"post":{"type":"string"},"cursor":{"type":"string","minLength":1,"pattern":"^(?:\\d+~)?(?:[A-Za-z0-9+/_=-]{16,16000})?$"}},"required":["post"],"additionalProperties":false}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"post":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"code":{"type":"string"},"url":{"type":"string","format":"uri"},"type":{"type":"string","enum":["text","photo","video","carousel"]},"text":{"type":"string"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"replies":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reposts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"quotes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"shares":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"videos":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"}},"required":["url"]}},"link":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"image":{"type":"string","format":"uri"}},"required":["url"]},"isReply":{"type":"boolean"},"replyTo":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"username":{"type":"string"}},"required":[]},"isPinned":{"type":"boolean"},"quoted":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"code":{"type":"string"},"url":{"type":"string","format":"uri"},"type":{"type":"string","enum":["text","photo","video","carousel"]},"text":{"type":"string"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"replies":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reposts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"quotes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"shares":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"videos":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"}},"required":["url"]}},"link":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"image":{"type":"string","format":"uri"}},"required":["url"]},"isReply":{"type":"boolean"},"replyTo":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"username":{"type":"string"}},"required":[]},"isPinned":{"type":"boolean"}},"required":["url","type","isReply","isPinned"]},"repostOf":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"code":{"type":"string"},"url":{"type":"string","format":"uri"},"type":{"type":"string","enum":["text","photo","video","carousel"]},"text":{"type":"string"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"replies":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reposts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"quotes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"shares":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"videos":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"}},"required":["url"]}},"link":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"image":{"type":"string","format":"uri"}},"required":["url"]},"isReply":{"type":"boolean"},"replyTo":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"username":{"type":"string"}},"required":[]},"isPinned":{"type":"boolean"}},"required":["url","type","isReply","isPinned"]}},"required":["url","type","isReply","isPinned"]},"thread":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"code":{"type":"string"},"url":{"type":"string","format":"uri"},"type":{"type":"string","enum":["text","photo","video","carousel"]},"text":{"type":"string"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"replies":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reposts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"quotes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"shares":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"videos":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"}},"required":["url"]}},"link":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"image":{"type":"string","format":"uri"}},"required":["url"]},"isReply":{"type":"boolean"},"replyTo":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"username":{"type":"string"}},"required":[]},"isPinned":{"type":"boolean"},"quoted":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"code":{"type":"string"},"url":{"type":"string","format":"uri"},"type":{"type":"string","enum":["text","photo","video","carousel"]},"text":{"type":"string"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"replies":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reposts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"quotes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"shares":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"videos":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"}},"required":["url"]}},"link":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"image":{"type":"string","format":"uri"}},"required":["url"]},"isReply":{"type":"boolean"},"replyTo":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"username":{"type":"string"}},"required":[]},"isPinned":{"type":"boolean"}},"required":["url","type","isReply","isPinned"]},"repostOf":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"code":{"type":"string"},"url":{"type":"string","format":"uri"},"type":{"type":"string","enum":["text","photo","video","carousel"]},"text":{"type":"string"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"replies":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reposts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"quotes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"shares":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"videos":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"}},"required":["url"]}},"link":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"image":{"type":"string","format":"uri"}},"required":["url"]},"isReply":{"type":"boolean"},"replyTo":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"username":{"type":"string"}},"required":[]},"isPinned":{"type":"boolean"}},"required":["url","type","isReply","isPinned"]}},"required":["url","type","isReply","isPinned"]}},"replies":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"code":{"type":"string"},"url":{"type":"string","format":"uri"},"type":{"type":"string","enum":["text","photo","video","carousel"]},"text":{"type":"string"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"replies":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reposts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"quotes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"shares":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"videos":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"}},"required":["url"]}},"link":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"image":{"type":"string","format":"uri"}},"required":["url"]},"isReply":{"type":"boolean"},"replyTo":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"username":{"type":"string"}},"required":[]},"isPinned":{"type":"boolean"},"quoted":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"code":{"type":"string"},"url":{"type":"string","format":"uri"},"type":{"type":"string","enum":["text","photo","video","carousel"]},"text":{"type":"string"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"replies":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reposts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"quotes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"shares":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"videos":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"}},"required":["url"]}},"link":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"image":{"type":"string","format":"uri"}},"required":["url"]},"isReply":{"type":"boolean"},"replyTo":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"username":{"type":"string"}},"required":[]},"isPinned":{"type":"boolean"}},"required":["url","type","isReply","isPinned"]},"repostOf":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"code":{"type":"string"},"url":{"type":"string","format":"uri"},"type":{"type":"string","enum":["text","photo","video","carousel"]},"text":{"type":"string"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"replies":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reposts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"quotes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"shares":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"videos":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"}},"required":["url"]}},"link":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"image":{"type":"string","format":"uri"}},"required":["url"]},"isReply":{"type":"boolean"},"replyTo":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"username":{"type":"string"}},"required":[]},"isPinned":{"type":"boolean"}},"required":["url","type","isReply","isPinned"]}},"required":["url","type","isReply","isPinned"]}},"cursor":{"type":"string"}},"required":["post","thread","replies"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/threads/search":{"post":{"operationId":"threadsSearch","summary":"threads.search","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":200},"limit":{"default":20,"type":"integer","minimum":1,"maximum":20}},"required":["query"],"additionalProperties":false},"example":{"query":"coffee","limit":20}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"posts":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"code":{"type":"string"},"url":{"type":"string","format":"uri"},"type":{"type":"string","enum":["text","photo","video","carousel"]},"text":{"type":"string"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"replies":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reposts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"quotes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"shares":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"videos":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"}},"required":["url"]}},"link":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"image":{"type":"string","format":"uri"}},"required":["url"]},"isReply":{"type":"boolean"},"replyTo":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"username":{"type":"string"}},"required":[]},"isPinned":{"type":"boolean"},"quoted":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"code":{"type":"string"},"url":{"type":"string","format":"uri"},"type":{"type":"string","enum":["text","photo","video","carousel"]},"text":{"type":"string"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"replies":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reposts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"quotes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"shares":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"videos":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"}},"required":["url"]}},"link":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"image":{"type":"string","format":"uri"}},"required":["url"]},"isReply":{"type":"boolean"},"replyTo":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"username":{"type":"string"}},"required":[]},"isPinned":{"type":"boolean"}},"required":["url","type","isReply","isPinned"]},"repostOf":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"code":{"type":"string"},"url":{"type":"string","format":"uri"},"type":{"type":"string","enum":["text","photo","video","carousel"]},"text":{"type":"string"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"replies":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reposts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"quotes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"shares":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"videos":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"}},"required":["url"]}},"link":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"image":{"type":"string","format":"uri"}},"required":["url"]},"isReply":{"type":"boolean"},"replyTo":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"username":{"type":"string"}},"required":[]},"isPinned":{"type":"boolean"}},"required":["url","type","isReply","isPinned"]}},"required":["url","type","isReply","isPinned"]}}},"required":["posts"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/telegram/channel":{"post":{"operationId":"telegramChannel","summary":"telegram.channel","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"channel":{"type":"string"}},"required":["channel"],"additionalProperties":false},"example":{"channel":"durov"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"channel":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"url":{"type":"string","format":"uri"},"type":{"type":"string","enum":["channel","group"]},"name":{"type":"string"},"description":{"type":"string"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"},"subscribers":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"hasPreview":{"type":"boolean"},"photos":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"videos":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"files":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"links":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["url","type","isVerified","hasPreview"]}},"required":["channel"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/telegram/posts":{"post":{"operationId":"telegramPosts","summary":"telegram.posts","description":"Costs 1 credit per 20 items. Pages with cursor.","x-credits":1,"x-per-items":20,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"channel":{"type":"string"},"limit":{"default":20,"type":"integer","minimum":1,"maximum":200},"cursor":{"type":"string","pattern":"^[1-9]\\d{0,9}$"}},"required":["channel"],"additionalProperties":false},"example":{"channel":"durov","limit":20}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"posts":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"channel":{"type":"string"},"url":{"type":"string","format":"uri"},"text":{"type":"string"},"links":{"type":"array","items":{"type":"string","format":"uri"}},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"isEdited":{"type":"boolean"},"views":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"repostOf":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]}},"required":[]},"replyTo":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"username":{"type":"string"}},"required":[]},"media":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string","enum":["photo","video","roundVideo","sticker","voice","audio","document","poll"]},"url":{"type":"string","format":"uri"},"thumbnail":{"type":"string","format":"uri"},"durationSeconds":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["type"]}},"link":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"image":{"type":"string","format":"uri"},"siteName":{"type":"string"}},"required":["url"]},"reactions":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"emoji":{"type":"string"},"customEmojiId":{"type":"string"},"isPaid":{"type":"boolean"},"count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["isPaid","count"]}}},"required":["url","isEdited"]}},"cursor":{"type":"string"}},"required":["posts"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/telegram/post":{"post":{"operationId":"telegramPost","summary":"telegram.post","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"post":{"type":"string"}},"required":["post"],"additionalProperties":false}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"post":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"channel":{"type":"string"},"url":{"type":"string","format":"uri"},"text":{"type":"string"},"links":{"type":"array","items":{"type":"string","format":"uri"}},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"isEdited":{"type":"boolean"},"views":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"repostOf":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]}},"required":[]},"replyTo":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"username":{"type":"string"}},"required":[]},"media":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string","enum":["photo","video","roundVideo","sticker","voice","audio","document","poll"]},"url":{"type":"string","format":"uri"},"thumbnail":{"type":"string","format":"uri"},"durationSeconds":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["type"]}},"link":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"image":{"type":"string","format":"uri"},"siteName":{"type":"string"}},"required":["url"]},"reactions":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"emoji":{"type":"string"},"customEmojiId":{"type":"string"},"isPaid":{"type":"boolean"},"count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["isPaid","count"]}}},"required":["url","isEdited"]}},"required":["post"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/meta/ads/search":{"post":{"operationId":"metaAdsSearch","summary":"meta.ads.search","description":"Costs 2 credits per 10 items. Pages with cursor.","x-credits":2,"x-per-items":10,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":200},"country":{"default":"us","pattern":"^(?:[A-Za-z]{2}|[Aa][Ll][Ll])$","description":"ISO 3166-1 alpha-2 country code, or all. Any case is accepted.","type":"string"},"adType":{"default":"all","type":"string","enum":["all","politicalAndIssue"]},"status":{"default":"active","type":"string","enum":["active","inactive","all"]},"mediaType":{"default":"all","type":"string","enum":["all","image","video","meme","none"]},"platforms":{"default":[],"maxItems":4,"type":"array","items":{"type":"string","enum":["facebook","instagram","messenger","audienceNetwork"]}},"from":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"to":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"language":{"type":"string","pattern":"^[A-Za-z]{2}$","description":"BCP 47 language tag, e.g. en or pt-BR. Any case is accepted."},"limit":{"default":30,"type":"integer","minimum":1,"maximum":500},"cursor":{"type":"string","pattern":"^(?:\\d{1,4}~(?:[\\w-]{10,500})?|(?:[\\w-]{10,500}))$"}},"required":["query"],"additionalProperties":false},"example":{"query":"nike","limit":20}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"ads":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"page":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"categories":{"type":"array","items":{"type":"string"}},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":[]},"isActive":{"type":"boolean"},"firstShownAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"lastShownAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"platforms":{"type":"array","items":{"type":"string"}},"format":{"type":"string"},"text":{"type":"string"},"link":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"caption":{"type":"string"}},"required":[]},"cta":{"type":"object","additionalProperties":false,"properties":{"text":{"type":"string"},"type":{"type":"string"}},"required":[]},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"videos":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"thumbnail":{"type":"string","format":"uri"}},"required":["url"]}},"cards":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"text":{"type":"string"},"link":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"caption":{"type":"string"}},"required":[]},"cta":{"type":"object","additionalProperties":false,"properties":{"text":{"type":"string"},"type":{"type":"string"}},"required":[]},"image":{"type":"string","format":"uri"},"video":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"thumbnail":{"type":"string","format":"uri"}},"required":["url"]}},"required":[]}},"versions":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"categories":{"type":"array","items":{"type":"string"}},"paidBy":{"type":"string"},"spend":{"type":"object","additionalProperties":false,"properties":{"min":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"max":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":[]},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"ISO 4217 currency code, e.g. USD."},"impressions":{"type":"object","additionalProperties":false,"properties":{"min":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"max":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":[]},"reach":{"type":"object","additionalProperties":false,"properties":{"min":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"max":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":[]},"countries":{"type":"array","items":{"type":"string"}}},"required":["url","isActive","versions"]}},"cursor":{"type":"string"}},"required":["ads"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/meta/ads/page":{"post":{"operationId":"metaAdsPage","summary":"meta.ads.page","description":"Costs 2 credits per 10 items. Pages with cursor.","x-credits":2,"x-per-items":10,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"page":{"type":"string"},"country":{"default":"us","pattern":"^(?:[A-Za-z]{2}|[Aa][Ll][Ll])$","description":"ISO 3166-1 alpha-2 country code, or all. Any case is accepted.","type":"string"},"adType":{"default":"all","type":"string","enum":["all","politicalAndIssue"]},"status":{"default":"active","type":"string","enum":["active","inactive","all"]},"mediaType":{"default":"all","type":"string","enum":["all","image","video","meme","none"]},"platforms":{"default":[],"maxItems":4,"type":"array","items":{"type":"string","enum":["facebook","instagram","messenger","audienceNetwork"]}},"from":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"to":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"language":{"type":"string","pattern":"^[A-Za-z]{2}$","description":"BCP 47 language tag, e.g. en or pt-BR. Any case is accepted."},"limit":{"default":30,"type":"integer","minimum":1,"maximum":500},"cursor":{"type":"string","pattern":"^(?:\\d{1,4}~(?:[\\w-]{10,500})?|(?:[\\w-]{10,500}))$"}},"required":["page"],"additionalProperties":false},"example":{"page":"https://www.facebook.com/nike","limit":10}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"ads":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"page":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"categories":{"type":"array","items":{"type":"string"}},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":[]},"isActive":{"type":"boolean"},"firstShownAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"lastShownAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"platforms":{"type":"array","items":{"type":"string"}},"format":{"type":"string"},"text":{"type":"string"},"link":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"caption":{"type":"string"}},"required":[]},"cta":{"type":"object","additionalProperties":false,"properties":{"text":{"type":"string"},"type":{"type":"string"}},"required":[]},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"videos":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"thumbnail":{"type":"string","format":"uri"}},"required":["url"]}},"cards":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"text":{"type":"string"},"link":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"caption":{"type":"string"}},"required":[]},"cta":{"type":"object","additionalProperties":false,"properties":{"text":{"type":"string"},"type":{"type":"string"}},"required":[]},"image":{"type":"string","format":"uri"},"video":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"thumbnail":{"type":"string","format":"uri"}},"required":["url"]}},"required":[]}},"versions":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"categories":{"type":"array","items":{"type":"string"}},"paidBy":{"type":"string"},"spend":{"type":"object","additionalProperties":false,"properties":{"min":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"max":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":[]},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"ISO 4217 currency code, e.g. USD."},"impressions":{"type":"object","additionalProperties":false,"properties":{"min":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"max":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":[]},"reach":{"type":"object","additionalProperties":false,"properties":{"min":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"max":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":[]},"countries":{"type":"array","items":{"type":"string"}}},"required":["url","isActive","versions"]}},"cursor":{"type":"string"}},"required":["ads"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/meta/ads/ad":{"post":{"operationId":"metaAdsAd","summary":"meta.ads.ad","description":"Costs 2 credits.","x-credits":2,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"ad":{"type":"string"}},"required":["ad"],"additionalProperties":false}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"ad":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"page":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"categories":{"type":"array","items":{"type":"string"}},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":[]},"isActive":{"type":"boolean"},"firstShownAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"lastShownAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"platforms":{"type":"array","items":{"type":"string"}},"format":{"type":"string"},"text":{"type":"string"},"link":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"caption":{"type":"string"}},"required":[]},"cta":{"type":"object","additionalProperties":false,"properties":{"text":{"type":"string"},"type":{"type":"string"}},"required":[]},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"videos":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"thumbnail":{"type":"string","format":"uri"}},"required":["url"]}},"cards":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"text":{"type":"string"},"link":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"caption":{"type":"string"}},"required":[]},"cta":{"type":"object","additionalProperties":false,"properties":{"text":{"type":"string"},"type":{"type":"string"}},"required":[]},"image":{"type":"string","format":"uri"},"video":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"thumbnail":{"type":"string","format":"uri"}},"required":["url"]}},"required":[]}},"versions":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"categories":{"type":"array","items":{"type":"string"}},"paidBy":{"type":"string"},"spend":{"type":"object","additionalProperties":false,"properties":{"min":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"max":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":[]},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"ISO 4217 currency code, e.g. USD."},"impressions":{"type":"object","additionalProperties":false,"properties":{"min":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"max":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":[]},"reach":{"type":"object","additionalProperties":false,"properties":{"min":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"max":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":[]},"countries":{"type":"array","items":{"type":"string"}}},"required":["url","isActive","versions"]},"details":{"type":"object","additionalProperties":false,"properties":{"advertiser":{"type":"object","additionalProperties":false,"properties":{"description":{"type":"string"},"category":{"type":"string"},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"verification":{"type":"string"},"instagram":{"type":"string"},"instagramFollowers":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":[]},"audience":{"type":"object","additionalProperties":false,"properties":{"ageGender":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"age":{"type":"string"},"female":{"type":"number"},"male":{"type":"number"},"unknown":{"type":"number"}},"required":["female","male","unknown"]}},"regions":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"region":{"type":"string"},"share":{"type":"number"}},"required":["share"]}}},"required":[]},"euReach":{"type":"object","additionalProperties":false,"properties":{"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"byCountry":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"country":{"type":"string"},"age":{"type":"string"},"female":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"male":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"unknown":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["female","male","unknown"]}}},"required":[]},"payers":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"paidBy":{"type":"string"},"beneficiary":{"type":"string"}},"required":[]}}},"required":[]}},"required":["ad"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/linkedin/jobs/search":{"post":{"operationId":"linkedinJobsSearch","summary":"linkedin.jobs.search","description":"Costs 1 credit per 10 items. Pages with cursor.","x-credits":1,"x-per-items":10,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","maxLength":200},"location":{"type":"string","maxLength":200},"geoId":{"type":"string","pattern":"^\\d{1,15}$"},"within":{"default":"all","type":"string","enum":["day","week","month","all"]},"jobTypes":{"default":[],"maxItems":5,"type":"array","items":{"type":"string","enum":["fullTime","partTime","contract","temporary","internship"]}},"experience":{"default":[],"maxItems":6,"type":"array","items":{"type":"string","enum":["internship","entry","associate","midSenior","director","executive"]}},"workplace":{"default":[],"maxItems":3,"type":"array","items":{"type":"string","enum":["onsite","remote","hybrid"]}},"companyIds":{"default":[],"maxItems":20,"type":"array","items":{"type":"string","pattern":"^\\d{1,15}$"}},"easyApply":{"default":false,"type":"boolean"},"sort":{"default":"relevance","type":"string","enum":["relevance","newest"]},"limit":{"default":25,"type":"integer","minimum":1,"maximum":500},"cursor":{"type":"string","pattern":"^\\d{1,3}$"}},"additionalProperties":false},"example":{"query":"product manager","location":"New York"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"jobs":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"title":{"type":"string"},"company":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"}},"required":[]},"address":{"type":"object","additionalProperties":false,"properties":{"full":{"type":"string"},"street":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postalCode":{"type":"string"},"country":{"type":"string"}},"required":[]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"salaryText":{"type":"string"},"isEasyApply":{"type":"boolean"},"insight":{"type":"string"}},"required":["url"]}},"cursor":{"type":"string"}},"required":["jobs"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/linkedin/jobs/job":{"post":{"operationId":"linkedinJobsJob","summary":"linkedin.jobs.job","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"job":{"type":"string"}},"required":["job"],"additionalProperties":false}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"job":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"title":{"type":"string"},"company":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"}},"required":[]},"address":{"type":"object","additionalProperties":false,"properties":{"full":{"type":"string"},"street":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postalCode":{"type":"string"},"country":{"type":"string"}},"required":[]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"applicants":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"applicantsText":{"type":"string"},"salaryText":{"type":"string"},"isEasyApply":{"type":"boolean"},"applyUrl":{"type":"string","format":"uri"},"seniority":{"type":"string"},"employmentType":{"type":"string"},"jobFunction":{"type":"string"},"industries":{"type":"string"},"description":{"type":"object","additionalProperties":false,"properties":{"text":{"type":"string"},"html":{"type":"string"}},"required":[]}},"required":["url"]}},"required":["job"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/linkedin/ads/search":{"post":{"operationId":"linkedinAdsSearch","summary":"linkedin.ads.search","description":"Costs 2 credits per 24 items. Pages with cursor.","x-credits":2,"x-per-items":24,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","maxLength":500},"advertiser":{"type":"string","maxLength":500},"paidBy":{"type":"string","maxLength":500},"countries":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","pattern":"^[A-Za-z]{2}$","description":"ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted."}},"within":{"default":"all","type":"string","enum":["month","year","all"]},"from":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"to":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"limit":{"default":24,"type":"integer","minimum":1,"maximum":120},"cursor":{"type":"string","pattern":"^(?:\\d{1,4}~(?:\\d{1,20}-\\d{1,20})?|(?:\\d{1,20}-\\d{1,20}))$"}},"additionalProperties":false},"example":{"query":"software"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"ads":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"creativeType":{"type":"string"},"format":{"type":"string"},"advertiser":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"}},"required":[]},"postedBy":{"type":"string"},"text":{"type":"string"},"headline":{"type":"string"},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}}},"required":["url"]}},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"cursor":{"type":"string"}},"required":["ads"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/linkedin/ads/ad":{"post":{"operationId":"linkedinAdsAd","summary":"linkedin.ads.ad","description":"Costs 2 credits.","x-credits":2,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"ad":{"type":"string"}},"required":["ad"],"additionalProperties":false}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"ad":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"creativeType":{"type":"string"},"format":{"type":"string"},"advertiser":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"}},"required":[]},"postedBy":{"type":"string"},"text":{"type":"string"},"headline":{"type":"string"},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"paidBy":{"type":"string"},"cta":{"type":"object","additionalProperties":false,"properties":{"text":{"type":"string"},"type":{"type":"string"}},"required":[]},"videos":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"}},"required":["url"]}},"firstShownAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"lastShownAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"impressions":{"type":"object","additionalProperties":false,"properties":{"min":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"max":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":[]},"countries":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"country":{"type":"string"},"share":{"type":"number"}},"required":[]}},"targeting":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"parameter":{"type":"string"},"description":{"type":"string"}},"required":[]}},"targetingUsed":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"parameter":{"type":"string"},"isTargeted":{"type":"boolean"},"isExcluded":{"type":"boolean"}},"required":["isTargeted","isExcluded"]}}},"required":["url"]}},"required":["ad"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/linkedin/company":{"post":{"operationId":"linkedinCompany","summary":"linkedin.company","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"company":{"type":"string"}},"required":["company"],"additionalProperties":false},"example":{"company":"microsoft"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"company":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"name":{"type":"string"},"industry":{"type":"string"},"size":{"type":"string"},"employees":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"headquarters":{"type":"string"},"website":{"type":"string","format":"uri"},"followers":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"description":{"type":"string"},"specialties":{"type":"array","items":{"type":"string"}},"founded":{"type":"string"}},"required":["url"]}},"required":["company"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/linkedin/profile":{"post":{"operationId":"linkedinProfile","summary":"linkedin.profile","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"profile":{"type":"string"}},"required":["profile"],"additionalProperties":false},"example":{"profile":"satyanadella"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"profile":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"name":{"type":"string"},"headline":{"type":"string"},"location":{"type":"string"},"about":{"type":"string"},"isAboutTruncated":{"type":"boolean"},"followers":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"roles":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"title":{"type":"string"},"company":{"type":"string"},"url":{"type":"string","format":"uri"},"from":{"type":"string"},"to":{"type":"string"},"isCurrent":{"type":"boolean"}},"required":["isCurrent"]}},"education":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"school":{"type":"string"},"degree":{"type":"string"},"url":{"type":"string","format":"uri"},"from":{"type":"string"},"to":{"type":"string"}},"required":[]}}},"required":["url","isAboutTruncated"]}},"required":["profile"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/linkedin/posts":{"post":{"operationId":"linkedinPosts","summary":"linkedin.posts","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"profile":{"type":"string"},"company":{"type":"string"},"limit":{"default":10,"type":"integer","minimum":1,"maximum":20}},"additionalProperties":false},"example":{"profile":"satyanadella","limit":5}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"posts":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"text":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"author":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":[]}},"required":["url"]}}},"required":["posts"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/linkedin/company/posts":{"post":{"operationId":"linkedinCompanyPosts","summary":"linkedin.company.posts","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"company":{"type":"string"},"limit":{"default":10,"type":"integer","minimum":1,"maximum":20}},"required":["company"],"additionalProperties":false},"example":{"company":"openai","limit":5}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"posts":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"text":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"author":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":[]}},"required":["url"]}}},"required":["posts"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/zillow/search":{"post":{"operationId":"zillowSearch","summary":"zillow.search","description":"Costs 3 credits per 41 items. Pages with cursor.","x-credits":3,"x-per-items":41,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"location":{"type":"string","minLength":2,"maxLength":200},"bounds":{"type":"object","properties":{"west":{"type":"number","minimum":-180,"maximum":180},"east":{"type":"number","minimum":-180,"maximum":180},"south":{"type":"number","minimum":-90,"maximum":90},"north":{"type":"number","minimum":-90,"maximum":90}},"required":["west","east","south","north"]},"status":{"default":"forSale","type":"string","enum":["forSale","forRent","sold"]},"sort":{"default":"relevance","type":"string","enum":["relevance","newest","priceHigh","priceLow","bedrooms","bathrooms","sqft","lot"]},"price":{"type":"object","properties":{"min":{"type":"number","minimum":0},"max":{"type":"number","minimum":0}}},"bedrooms":{"type":"object","properties":{"min":{"type":"number","minimum":0},"max":{"type":"number","minimum":0}}},"bathrooms":{"type":"object","properties":{"min":{"type":"number","minimum":0},"max":{"type":"number","minimum":0}}},"sqft":{"type":"object","properties":{"min":{"type":"number","minimum":0},"max":{"type":"number","minimum":0}}},"lotSqft":{"type":"object","properties":{"min":{"type":"number","minimum":0},"max":{"type":"number","minimum":0}}},"yearBuilt":{"type":"object","properties":{"min":{"type":"number","minimum":0},"max":{"type":"number","minimum":0}}},"hoa":{"type":"object","properties":{"max":{"type":"number","minimum":0}},"required":["max"]},"homeTypes":{"minItems":1,"type":"array","items":{"type":"string","enum":["house","townhouse","multiFamily","condo","land","apartment","manufactured"]}},"listingTypes":{"minItems":1,"type":"array","items":{"type":"string","enum":["agent","owner","newConstruction","comingSoon","auction","foreclosure"]}},"within":{"default":"all","type":"string","enum":["day","week","twoWeeks","month","threeMonths","sixMonths","year","twoYears","threeYears","all"]},"query":{"type":"string","minLength":1,"maxLength":200},"features":{"minItems":1,"type":"array","items":{"type":"string","enum":["garage","pool","airConditioning","waterfront","singleStory","openHouse","tour3d","cityView","parkView","waterView","mountainView","catsAllowed","furnished"]}},"limit":{"default":41,"type":"integer","minimum":1,"maximum":410},"cursor":{"type":"string","pattern":"^(?:\\d{1,4}~(?:[2-9]|1\\d|20)?|(?:[2-9]|1\\d|20))$"}},"additionalProperties":false},"example":{"location":"Austin, TX"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"listings":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"status":{"type":"string","enum":["forSale","forRent","sold","other"]},"statusText":{"type":"string"},"price":{"type":"number","minimum":0},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"ISO 4217 currency code, e.g. USD."},"address":{"type":"object","additionalProperties":false,"properties":{"full":{"type":"string"},"street":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postalCode":{"type":"string"},"country":{"type":"string"}},"required":[]},"location":{"type":"object","additionalProperties":false,"properties":{"lat":{"type":"number","minimum":-90,"maximum":90},"lng":{"type":"number","minimum":-180,"maximum":180}},"required":["lat","lng"]},"bedrooms":{"type":"number"},"bathrooms":{"type":"number"},"sqft":{"type":"number"},"homeType":{"type":"string"},"daysOnZillow":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"lastSoldAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"zestimate":{"type":"number"},"rentZestimate":{"type":"number"},"broker":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"}},"required":[]},"image":{"type":"string","format":"uri"},"building":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"minRent":{"type":"number"},"maxRent":{"type":"number"},"availableUnits":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"units":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"bedrooms":{"type":"number"},"price":{"type":"number","minimum":0}},"required":[]}}},"required":[]}},"required":["url","status"]}},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"cursor":{"type":"string"}},"required":["listings"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/zillow/property":{"post":{"operationId":"zillowProperty","summary":"zillow.property","description":"Costs 3 credits.","x-credits":3,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"property":{"type":"string"}},"required":["property"],"additionalProperties":false}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"property":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"status":{"type":"string"},"homeType":{"type":"string"},"price":{"type":"number","minimum":0},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"ISO 4217 currency code, e.g. USD."},"zestimate":{"type":"number"},"rentZestimate":{"type":"number"},"lastSoldPrice":{"type":"number"},"lastSoldAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"address":{"type":"object","additionalProperties":false,"properties":{"full":{"type":"string"},"street":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postalCode":{"type":"string"},"country":{"type":"string"}},"required":[]},"location":{"type":"object","additionalProperties":false,"properties":{"lat":{"type":"number","minimum":-90,"maximum":90},"lng":{"type":"number","minimum":-180,"maximum":180}},"required":["lat","lng"]},"bedrooms":{"type":"number"},"bathrooms":{"type":"number"},"sqft":{"type":"number"},"lotSize":{"type":"object","additionalProperties":false,"properties":{"value":{"type":"number"},"unit":{"type":"string"}},"required":["value"]},"yearBuilt":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"description":{"type":"string"},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"priceHistory":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"date":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"price":{"type":"number"},"event":{"type":"string"}},"required":["date"]}},"daysOnZillow":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"views":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"saves":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"monthlyHoa":{"type":"number"},"propertyTaxRate":{"type":"number"},"mls":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":[]},"broker":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"phone":{"type":"string"}},"required":[]},"agent":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"phone":{"type":"string"},"email":{"type":"string"}},"required":[]},"facts":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}}},"required":["url"]}},"required":["property"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/google/ads/advertisers":{"post":{"operationId":"googleAdsAdvertisers","summary":"google.ads.advertisers","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":200},"country":{"type":"string","pattern":"^[A-Za-z]{2}$","description":"ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted."},"limit":{"default":10,"type":"integer","minimum":1,"maximum":50}},"required":["query"],"additionalProperties":false},"example":{"query":"nike"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"advertisers":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"},"country":{"type":"string"},"isVerified":{"type":"boolean"},"ads":{"type":"object","additionalProperties":false,"properties":{"min":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"max":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["min"]},"url":{"type":"string","format":"uri"}},"required":["isVerified","url"]}},"domains":{"type":"array","items":{"type":"string"}}},"required":["advertisers","domains"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/google/ads/search":{"post":{"operationId":"googleAdsSearch","summary":"google.ads.search","description":"Costs 1 credit per 25 items. Pages with cursor.","x-credits":1,"x-per-items":25,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"advertiser":{"type":"string"},"domain":{"type":"string"},"country":{"type":"string","pattern":"^[A-Za-z]{2}$","description":"ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted."},"mediaType":{"type":"string","enum":["text","image","video"]},"platform":{"type":"string","enum":["play","maps","search","shopping","youtube"]},"from":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"to":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"limit":{"default":40,"type":"integer","minimum":1,"maximum":300},"cursor":{"type":"string","pattern":"^[\\w+/=-]{8,512}$"}},"additionalProperties":false},"example":{"domain":"nike.com","limit":25}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"ads":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"advertiser":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"country":{"type":"string"},"isVerified":{"type":"boolean"}},"required":["url"]},"domain":{"type":"string"},"format":{"type":"string","enum":["text","image","video","unknown"]},"firstShownAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"lastShownAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"daysShown":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"preview":{"type":"string","format":"uri"},"image":{"type":"string","format":"uri"}},"required":["url","advertiser","format"]}},"total":{"type":"object","additionalProperties":false,"properties":{"min":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"max":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["min","max"]},"cursor":{"type":"string"}},"required":["ads"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/google/ads/ad":{"post":{"operationId":"googleAdsAd","summary":"google.ads.ad","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"advertiser":{"type":"string"},"ad":{"type":"string"}},"required":["ad"],"additionalProperties":false}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"ad":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"advertiser":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"country":{"type":"string"},"isVerified":{"type":"boolean"}},"required":["url"]},"domain":{"type":"string"},"format":{"type":"string","enum":["text","image","video","unknown"]},"firstShownAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"lastShownAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"daysShown":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"preview":{"type":"string","format":"uri"},"image":{"type":"string","format":"uri"},"paidBy":{"type":"string"},"variations":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"preview":{"type":"string","format":"uri"},"image":{"type":"string","format":"uri"},"video":{"type":"string","format":"uri"}},"required":[]}},"impressions":{"type":"object","additionalProperties":false,"properties":{"min":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"max":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["min"]},"regions":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"country":{"type":"string"},"firstShownAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"lastShownAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"impressions":{"type":"object","additionalProperties":false,"properties":{"min":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"max":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["min"]},"platforms":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"platform":{"type":"string","enum":["play","maps","search","shopping","youtube","unknown"]},"impressions":{"type":"object","additionalProperties":false,"properties":{"min":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"max":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["min"]}},"required":["platform","impressions"]}}},"required":[]}},"targeting":{"type":"object","additionalProperties":false,"properties":{"demographics":{"type":"object","additionalProperties":false,"properties":{"isIncluded":{"type":"boolean"},"isExcluded":{"type":"boolean"}},"required":["isIncluded","isExcluded"]},"geography":{"type":"object","additionalProperties":false,"properties":{"isIncluded":{"type":"boolean"},"isExcluded":{"type":"boolean"}},"required":["isIncluded","isExcluded"]},"contextual":{"type":"object","additionalProperties":false,"properties":{"isIncluded":{"type":"boolean"},"isExcluded":{"type":"boolean"}},"required":["isIncluded","isExcluded"]},"interests":{"type":"object","additionalProperties":false,"properties":{"isIncluded":{"type":"boolean"},"isExcluded":{"type":"boolean"}},"required":["isIncluded","isExcluded"]},"customerLists":{"type":"object","additionalProperties":false,"properties":{"isIncluded":{"type":"boolean"},"isExcluded":{"type":"boolean"}},"required":["isIncluded","isExcluded"]}},"required":["demographics","geography","contextual","interests","customerLists"]}},"required":["url","advertiser","format"]}},"required":["ad"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/tiktok/ads/search":{"post":{"operationId":"tiktokAdsSearch","summary":"tiktok.ads.search","description":"Costs 1 credit per 12 items. Pages with cursor.","x-credits":1,"x-per-items":12,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":200},"advertiser":{"type":"string","minLength":1,"maxLength":200},"country":{"type":"string","pattern":"^[A-Za-z]{2}$","description":"ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted."},"from":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"to":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"limit":{"default":12,"type":"integer","minimum":1,"maximum":200},"cursor":{"type":"string","pattern":"^(?:\\d{1,4}~(?:[A-Za-z0-9+/=]{8,400})?|(?:[A-Za-z0-9+/=]{8,400}))$"}},"additionalProperties":false},"example":{"query":"adidas","limit":12}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"ads":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"advertiser":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"},"country":{"type":"string"}},"required":[]},"headline":{"type":"string"},"firstShownAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"lastShownAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"reach":{"type":"object","additionalProperties":false,"properties":{"min":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"max":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":[]},"video":{"type":"string","format":"uri"},"thumbnail":{"type":"string","format":"uri"},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}}},"required":["url"]}},"advertiser":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":[]},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"cursor":{"type":"string"}},"required":["ads"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/tiktok/ads/ad":{"post":{"operationId":"tiktokAdsAd","summary":"tiktok.ads.ad","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"ad":{"type":"string"}},"required":["ad"],"additionalProperties":false}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"ad":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"advertiser":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"},"country":{"type":"string"}},"required":[]},"headline":{"type":"string"},"firstShownAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"lastShownAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"reach":{"type":"object","additionalProperties":false,"properties":{"min":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"max":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":[]},"video":{"type":"string","format":"uri"},"thumbnail":{"type":"string","format":"uri"},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"paidBy":{"type":"string"},"link":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"caption":{"type":"string"}},"required":[]},"cta":{"type":"object","additionalProperties":false,"properties":{"text":{"type":"string"},"type":{"type":"string"}},"required":[]},"objective":{"type":"string"},"category":{"type":"string"},"targeting":{"type":"object","additionalProperties":false,"properties":{"audienceSize":{"type":"object","additionalProperties":false,"properties":{"min":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"max":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":[]},"impressions":{"type":"object","additionalProperties":false,"properties":{"min":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"max":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":[]},"countries":{"type":"array","items":{"type":"string"}},"languages":{"type":"array","items":{"type":"string"}},"interests":{"type":"string"},"regions":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"country":{"type":"string"},"impressions":{"type":"object","additionalProperties":false,"properties":{"min":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"max":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":[]},"ages":{"type":"array","items":{"type":"string"}},"genders":{"type":"array","items":{"type":"string"}},"breakdown":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"age":{"type":"string"},"gender":{"type":"string"},"impressions":{"type":"object","additionalProperties":false,"properties":{"min":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"max":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":[]}},"required":[]}}},"required":[]}}},"required":[]}},"required":["url"]}},"required":["ad"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/upwork/search":{"post":{"operationId":"upworkSearch","summary":"upwork.search","description":"Costs 2 credits per 10 items. Pages with cursor.","x-credits":2,"x-per-items":10,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":200},"sort":{"default":"newest","type":"string","enum":["newest","relevance"]},"jobType":{"type":"string","enum":["hourly","fixed"]},"experience":{"minItems":1,"type":"array","items":{"type":"string","enum":["entry","intermediate","expert"]}},"duration":{"minItems":1,"type":"array","items":{"type":"string","enum":["week","month","semester","ongoing"]}},"workload":{"minItems":1,"type":"array","items":{"type":"string","enum":["asNeeded","partTime","fullTime"]}},"clientHires":{"minItems":1,"type":"array","items":{"type":"string","enum":["none","oneToNine","tenPlus"]}},"hourlyRate":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9007199254740991},"max":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}}},"contractToHire":{"type":"boolean"},"locations":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":2,"maxLength":80}},"timezones":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":2,"maxLength":60}},"limit":{"default":20,"type":"integer","minimum":1,"maximum":200},"cursor":{"type":"string","pattern":"^\\d{1,7}$"}},"additionalProperties":false},"example":{"query":"react developer","limit":20}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"jobs":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"ciphertext":{"type":"string"},"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"skills":{"type":"array","items":{"type":"string"}},"type":{"type":"string","enum":["hourly","fixed"]},"experience":{"type":"string","enum":["entry","intermediate","expert"]},"hourlyRate":{"type":"object","additionalProperties":false,"properties":{"min":{"type":"number"},"max":{"type":"number"}},"required":[]},"fixedBudget":{"type":"object","additionalProperties":false,"properties":{"amount":{"type":"number"}},"required":["amount"]},"currency":{"type":"string"},"durationWeeks":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"publishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["url"]}},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"cursor":{"type":"string"}},"required":["jobs"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/upwork/job":{"post":{"operationId":"upworkJob","summary":"upwork.job","description":"Costs 3 credits.","x-credits":3,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"job":{"type":"string"}},"required":["job"],"additionalProperties":false}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"job":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"ciphertext":{"type":"string"},"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"skills":{"type":"array","items":{"type":"string"}},"type":{"type":"string","enum":["hourly","fixed"]},"experience":{"type":"string","enum":["entry","intermediate","expert"]},"hourlyRate":{"type":"object","additionalProperties":false,"properties":{"min":{"type":"number"},"max":{"type":"number"}},"required":[]},"fixedBudget":{"type":"object","additionalProperties":false,"properties":{"amount":{"type":"number"}},"required":["amount"]},"currency":{"type":"string"},"durationWeeks":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"publishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"status":{"type":"string"},"category":{"type":"string"},"categoryGroup":{"type":"string"},"durationText":{"type":"string"},"activity":{"type":"object","additionalProperties":false,"properties":{"applicants":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"hired":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"interviewing":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"invitesSent":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"unansweredInvites":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"positions":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"lastClientActivityAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":[]},"client":{"type":"object","additionalProperties":false,"properties":{"address":{"type":"object","additionalProperties":false,"properties":{"full":{"type":"string"},"street":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postalCode":{"type":"string"},"country":{"type":"string"}},"required":[]},"timezone":{"type":"string"},"totalSpent":{"type":"number"},"hires":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"jobsWithHires":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"activeContracts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reviews":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"rating":{"type":"number"},"openJobs":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"postedJobs":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"joinedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"industry":{"type":"string"},"companySizeText":{"type":"string"}},"required":[]}},"required":["url"]}},"required":["job"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/google/suggest":{"post":{"operationId":"googleSuggest","summary":"google.suggest","description":"Costs 1 credit per 50 items.","x-credits":1,"x-per-items":50,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":200},"country":{"default":"us","type":"string","pattern":"^[A-Za-z]{2}$","description":"ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted."},"language":{"default":"en","type":"string","pattern":"^[A-Za-z]{2,3}(?:[-_][A-Za-z0-9]{2,4})?$","description":"BCP 47 language tag, e.g. en or pt-BR. Any case is accepted."},"expand":{"default":"none","type":"string","enum":["none","alphabet","questions","all"]},"vertical":{"default":"web","type":"string","enum":["web","shopping"]}},"required":["query"],"additionalProperties":false},"example":{"query":"best running shoes","expand":"alphabet"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"query":{"type":"string"},"keywords":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"keyword":{"type":"string","minLength":1},"seed":{"type":"string"},"rank":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["keyword","rank"]}}},"required":["keywords"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/youtube/suggest":{"post":{"operationId":"youtubeSuggest","summary":"youtube.suggest","description":"Costs 1 credit per 50 items.","x-credits":1,"x-per-items":50,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":200},"country":{"default":"us","type":"string","pattern":"^[A-Za-z]{2}$","description":"ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted."},"language":{"default":"en","type":"string","pattern":"^[A-Za-z]{2,3}(?:[-_][A-Za-z0-9]{2,4})?$","description":"BCP 47 language tag, e.g. en or pt-BR. Any case is accepted."},"expand":{"default":"none","type":"string","enum":["none","alphabet","questions","all"]}},"required":["query"],"additionalProperties":false},"example":{"query":"how to learn","expand":"alphabet"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"query":{"type":"string"},"keywords":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"keyword":{"type":"string","minLength":1},"seed":{"type":"string"},"rank":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["keyword","rank"]}}},"required":["keywords"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/amazon/suggest":{"post":{"operationId":"amazonSuggest","summary":"amazon.suggest","description":"Costs 1 credit per 50 items.","x-credits":1,"x-per-items":50,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":200},"country":{"default":"us","enum":["us","ca","mx","br","gb","de","fr","it","es","nl","be","se","pl","tr","ae","sa","eg","in","jp","au","sg"],"description":"ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.","type":"string"},"expand":{"default":"none","type":"string","enum":["none","alphabet","questions","all"]}},"required":["query"],"additionalProperties":false},"example":{"query":"coffee maker","expand":"alphabet"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"query":{"type":"string"},"keywords":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"keyword":{"type":"string","minLength":1},"seed":{"type":"string"},"rank":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["keyword","rank"]}}},"required":["keywords"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/google/trends/interest":{"post":{"operationId":"googleTrendsInterest","summary":"google.trends.interest","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"queries":{"minItems":1,"maxItems":5,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}},"country":{"type":"string","pattern":"^[A-Za-z]{2}$","description":"ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted."},"subdivision":{"type":"string","pattern":"^[A-Z0-9]{1,3}(-[A-Z0-9]{1,3})?$","description":"A state or metro inside country, e.g. CA for California in us."},"within":{"type":"string","enum":["hour","day","week","month","year","all"]},"from":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"to":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"category":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"vertical":{"default":"web","type":"string","enum":["web","images","news","youtube","shopping"]},"language":{"default":"en-US","type":"string","pattern":"^[A-Za-z]{2,3}(?:[-_][A-Za-z0-9]{2,4})?$","description":"BCP 47 language tag, e.g. en or pt-BR. Any case is accepted."}},"required":["queries"],"additionalProperties":false},"example":{"queries":["bitcoin","ethereum"]}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"queries":{"type":"array","items":{"type":"string"}},"points":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"recordedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"values":{"type":"array","items":{"type":"number"}},"isPartial":{"type":"boolean"}},"required":["recordedAt","isPartial"]}},"averages":{"type":"array","items":{"type":"number"}}},"required":["queries","points","averages"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/google/trends/regions":{"post":{"operationId":"googleTrendsRegions","summary":"google.trends.regions","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"queries":{"minItems":1,"maxItems":5,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}},"country":{"type":"string","pattern":"^[A-Za-z]{2}$","description":"ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted."},"subdivision":{"type":"string","pattern":"^[A-Z0-9]{1,3}(-[A-Z0-9]{1,3})?$","description":"A state or metro inside country, e.g. CA for California in us."},"within":{"type":"string","enum":["hour","day","week","month","year","all"]},"from":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"to":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"category":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"vertical":{"default":"web","type":"string","enum":["web","images","news","youtube","shopping"]},"language":{"default":"en-US","type":"string","pattern":"^[A-Za-z]{2,3}(?:[-_][A-Za-z0-9]{2,4})?$","description":"BCP 47 language tag, e.g. en or pt-BR. Any case is accepted."},"resolution":{"type":"string","enum":["country","region","metro"]},"includeLowVolume":{"default":false,"type":"boolean"}},"required":["queries"],"additionalProperties":false},"example":{"queries":["bitcoin"]}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"queries":{"type":"array","items":{"type":"string"}},"regions":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"code":{"type":"string"},"name":{"type":"string"},"values":{"type":"array","items":{"type":"number"}}},"required":[]}}},"required":["queries","regions"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/google/trends/related":{"post":{"operationId":"googleTrendsRelated","summary":"google.trends.related","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":100},"country":{"type":"string","pattern":"^[A-Za-z]{2}$","description":"ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted."},"subdivision":{"type":"string","pattern":"^[A-Z0-9]{1,3}(-[A-Z0-9]{1,3})?$","description":"A state or metro inside country, e.g. CA for California in us."},"within":{"type":"string","enum":["hour","day","week","month","year","all"]},"from":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"to":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"category":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"vertical":{"default":"web","type":"string","enum":["web","images","news","youtube","shopping"]},"language":{"default":"en-US","type":"string","pattern":"^[A-Za-z]{2,3}(?:[-_][A-Za-z0-9]{2,4})?$","description":"BCP 47 language tag, e.g. en or pt-BR. Any case is accepted."}},"required":["query"],"additionalProperties":false},"example":{"query":"bitcoin"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"query":{"type":"string"},"queries":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"query":{"type":"string"},"value":{"type":"number"}},"required":["value"]}}},"required":["queries"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/google/trends/trending":{"post":{"operationId":"googleTrendsTrending","summary":"google.trends.trending","description":"Costs 1 credit per 50 items.","x-credits":1,"x-per-items":50,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"country":{"default":"us","type":"string","pattern":"^[A-Za-z]{2}$","description":"ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted."},"subdivision":{"type":"string","pattern":"^[A-Z0-9]{1,3}(-[A-Z0-9]{1,3})?$","description":"A state or metro inside country, e.g. CA for California in us."},"within":{"default":"day","type":"string","enum":["fourHours","day","twoDays","week"]},"category":{"type":"string","enum":["autos","beautyFashion","business","entertainment","foodDrink","games","health","hobbies","jobsEducation","lawGovernment","other","petsAnimals","politics","science","shopping","sports","technology","travel","climate"]},"active":{"default":false,"type":"boolean"},"language":{"default":"en-US","type":"string","pattern":"^[A-Za-z]{2,3}(?:[-_][A-Za-z0-9]{2,4})?$","description":"BCP 47 language tag, e.g. en or pt-BR. Any case is accepted."},"limit":{"default":100,"type":"integer","minimum":1,"maximum":2000}},"additionalProperties":false},"example":{"country":"us","limit":50}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"trends":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"query":{"type":"string"},"volume":{"type":"number"},"increasePercent":{"type":"number"},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"endedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"isActive":{"type":"boolean"},"related":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"type":"string","enum":["autos","beautyFashion","business","entertainment","foodDrink","games","health","hobbies","jobsEducation","lawGovernment","other","petsAnimals","politics","science","shopping","sports","technology","travel","climate"]}},"url":{"type":"string","format":"uri"}},"required":["startedAt","isActive","url"]}}},"required":["trends"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/site/map":{"post":{"operationId":"siteMap","summary":"site.map","description":"Costs 2 credits per 500 items. Pages with cursor.","x-credits":2,"x-per-items":500,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"},"include":{"default":[],"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"exclude":{"default":[],"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"limit":{"default":1000,"type":"integer","minimum":1,"maximum":10000},"cursor":{"type":"string","pattern":"^[\\da-f]{32}$"}},"required":["url"],"additionalProperties":false},"example":{"url":"https://stripe.com","limit":500}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"urls":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"lastModifiedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["url"]}},"source":{"type":"string","enum":["sitemap","crawl"]},"sitemaps":{"type":"array","items":{"type":"string","format":"uri"}},"cursor":{"type":"string"}},"required":["urls","source","sitemaps"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/site/seo":{"post":{"operationId":"siteSeo","summary":"site.seo","description":"Costs 2 credits per 2 items.","x-credits":2,"x-per-items":2,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"},"checkLinks":{"default":5,"type":"integer","minimum":0,"maximum":20}},"required":["url"],"additionalProperties":false},"example":{"url":"https://www.shopify.com"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"object","additionalProperties":false,"properties":{"text":{"type":"string"},"length":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["length"]},"description":{"type":"object","additionalProperties":false,"properties":{"text":{"type":"string"},"length":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["length"]},"language":{"type":"string"},"hasViewport":{"type":"boolean"},"canonical":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string"},"isSelf":{"type":"boolean"}},"required":["isSelf"]},"robots":{"type":"object","additionalProperties":false,"properties":{"meta":{"type":"string"},"isNoindex":{"type":"boolean"},"isNofollow":{"type":"boolean"},"isAllowedByRobotsTxt":{"type":"boolean"}},"required":["isNoindex","isNofollow"]},"headings":{"type":"object","additionalProperties":false,"properties":{"h1":{"type":"array","items":{"type":"string"}},"h2":{"type":"array","items":{"type":"string"}},"outline":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"level":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"text":{"type":"string"}},"required":["level"]}}},"required":[]},"hreflang":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"language":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":["url"]}},"openGraph":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"twitter":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"jsonLd":{"type":"object","additionalProperties":false,"properties":{"blocks":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"invalid":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"types":{"type":"array","items":{"type":"string"}}},"required":["blocks","invalid"]},"images":{"type":"object","additionalProperties":false,"properties":{"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"missingAlt":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"emptyAlt":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"missingAltExamples":{"type":"array","items":{"type":"string","format":"uri"}}},"required":["total","missingAlt","emptyAlt"]},"links":{"type":"object","additionalProperties":false,"properties":{"internal":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"external":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"nofollow":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"checked":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"status":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["url"]}},"broken":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"status":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["url"]}}},"required":["internal","external","nofollow"]},"words":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"issues":{"type":"array","items":{"type":"string"}}},"required":["url","title","description","hasViewport","canonical","robots","hreflang","jsonLd","images","links","words","issues"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/domain/whois":{"post":{"operationId":"domainWhois","summary":"domain.whois","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"domain":{"type":"string"}},"required":["domain"],"additionalProperties":false},"example":{"domain":"stripe.com"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"domain":{"type":"string"},"registryId":{"type":"string"},"status":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"registrar":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"ianaId":{"type":"string"},"url":{"type":"string","format":"uri"},"abuseEmail":{"type":"string"},"abusePhone":{"type":"string"}},"required":[]},"registrant":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"organization":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"country":{"type":"string"}},"required":[]},"nameservers":{"type":"array","items":{"type":"string"}},"hasDnssec":{"type":"boolean"},"rdap":{"type":"string","format":"uri"}},"required":["status","nameservers","rdap"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/domain/dns":{"post":{"operationId":"domainDns","summary":"domain.dns","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"domain":{"type":"string"},"types":{"default":["A","AAAA","CNAME","MX","NS","TXT","SOA","CAA"],"minItems":1,"maxItems":8,"type":"array","items":{"type":"string","enum":["A","AAAA","CNAME","MX","NS","TXT","SOA","CAA"]}}},"required":["domain"],"additionalProperties":false},"example":{"domain":"stripe.com"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"domain":{"type":"string"},"isResolvable":{"type":"boolean"},"records":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string","enum":["A","AAAA","CNAME","MX","NS","TXT","SOA","CAA"]},"name":{"type":"string"},"value":{"type":"string"},"ttlSeconds":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["type","ttlSeconds"]}},"mx":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"priority":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"exchange":{"type":"string"}},"required":["priority"]}},"spf":{"type":"string"},"dmarc":{"type":"object","additionalProperties":false,"properties":{"record":{"type":"string"},"policy":{"type":"string"}},"required":[]}},"required":["isResolvable","records","mx"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/domain/tech":{"post":{"operationId":"domainTech","summary":"domain.tech","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"}},"required":["url"],"additionalProperties":false},"example":{"url":"https://www.allbirds.com"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"generator":{"type":"string"},"technologies":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"category":{"type":"string"},"version":{"type":"string"},"evidence":{"type":"string","enum":["html","script","cookie","generator","dns"]}},"required":["evidence"]}}},"required":["url","technologies"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/email/check":{"post":{"operationId":"emailCheck","summary":"email.check","description":"Costs 1 credit per 10 items.","x-credits":1,"x-per-items":10,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"emails":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":320}}},"required":["emails"],"additionalProperties":false},"example":{"emails":["hello@stripe.com","test@mailinator.com","bad@@x"]}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"emails":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"email":{"type":"string"},"status":{"type":"string","enum":["ok","risky","invalid"]},"reasons":{"type":"array","items":{"type":"string"}},"isValidSyntax":{"type":"boolean"},"domain":{"type":"string"},"mx":{"type":"array","items":{"type":"string"}},"isDisposable":{"type":"boolean"},"isRole":{"type":"boolean"},"isFree":{"type":"boolean"}},"required":["status","isValidSyntax","isDisposable","isRole","isFree"]}}},"required":["emails"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/crypto/coins":{"post":{"operationId":"cryptoCoins","summary":"crypto.coins","description":"Costs 1 credit per 50 items. Pages with cursor.","x-credits":1,"x-per-items":50,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"currency":{"default":"usd","type":"string","pattern":"^[A-Za-z]{3,5}$","description":"Currency code, e.g. usd. Any case is accepted."},"category":{"type":"string","pattern":"^[a-z0-9][\\w.-]{0,99}$"},"coins":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"string"}},"sort":{"default":"marketCap","type":"string","enum":["marketCap","volume","id"]},"order":{"type":"string","enum":["asc","desc"]},"limit":{"default":100,"type":"integer","minimum":1,"maximum":1000},"cursor":{"type":"string","pattern":"^(?:\\d{1,3}~)?\\d{1,4}:\\d{1,3}$"}},"additionalProperties":false},"example":{"limit":100}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"coins":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"source":{"type":"string","enum":["coingecko","coinmarketcap"]},"symbol":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"image":{"type":"string","format":"uri"},"rank":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"currency":{"type":"string"},"price":{"type":"number"},"marketCap":{"type":"number"},"fullyDilutedValue":{"type":"number"},"volume24h":{"type":"number"},"high24h":{"type":"number"},"low24h":{"type":"number"},"change1h":{"type":"number"},"change24h":{"type":"number"},"change7d":{"type":"number"},"change30d":{"type":"number"},"circulatingSupply":{"type":"number"},"totalSupply":{"type":"number"},"maxSupply":{"type":"number"},"ath":{"type":"number"},"athAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"atl":{"type":"number"},"atlAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["source","url"]}},"cursor":{"type":"string"}},"required":["coins"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/crypto/coin":{"post":{"operationId":"cryptoCoin","summary":"crypto.coin","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"coin":{"type":"string"},"source":{"default":"coingecko","type":"string","enum":["coingecko","coinmarketcap"]},"platform":{"type":"string","pattern":"^[a-z0-9][\\w.-]{0,99}$"},"currency":{"default":"usd","type":"string","pattern":"^[A-Za-z]{3,5}$","description":"Currency code, e.g. usd. Any case is accepted."}},"required":["coin"],"additionalProperties":false},"example":{"coin":"bitcoin"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"coin":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"source":{"type":"string","enum":["coingecko","coinmarketcap"]},"symbol":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"image":{"type":"string","format":"uri"},"rank":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"currency":{"type":"string"},"price":{"type":"number"},"marketCap":{"type":"number"},"fullyDilutedValue":{"type":"number"},"volume24h":{"type":"number"},"high24h":{"type":"number"},"low24h":{"type":"number"},"change1h":{"type":"number"},"change24h":{"type":"number"},"change7d":{"type":"number"},"change30d":{"type":"number"},"circulatingSupply":{"type":"number"},"totalSupply":{"type":"number"},"maxSupply":{"type":"number"},"ath":{"type":"number"},"athAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"atl":{"type":"number"},"atlAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"chains":{"type":"array","items":{"type":"string"}},"addedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"description":{"type":"string"},"categories":{"type":"array","items":{"type":"string"}},"change1y":{"type":"number"},"websites":{"type":"array","items":{"type":"string","format":"uri"}},"whitepaper":{"type":"string","format":"uri"},"explorers":{"type":"array","items":{"type":"string","format":"uri"}},"socials":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":["url"]}},"contracts":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"chain":{"type":"string"},"address":{"type":"string"},"decimals":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":[]}},"launchedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"watchlists":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["source","url"]}},"required":["coin"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/crypto/history":{"post":{"operationId":"cryptoHistory","summary":"crypto.history","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"coin":{"type":"string"},"currency":{"default":"usd","type":"string","pattern":"^[A-Za-z]{3,5}$","description":"Currency code, e.g. usd. Any case is accepted."},"within":{"type":"string","enum":["day","week","twoWeeks","month","threeMonths","sixMonths","year"]},"from":{"anyOf":[{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}]},"to":{"anyOf":[{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}]},"includeCandles":{"default":false,"type":"boolean"}},"required":["coin"],"additionalProperties":false},"example":{"coin":"bitcoin","within":"month"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"coin":{"type":"string"},"currency":{"type":"string"},"prices":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"recordedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"price":{"type":"number"},"marketCap":{"type":"number"},"volume":{"type":"number"}},"required":["recordedAt"]}},"candles":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"openedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"open":{"type":"number"},"high":{"type":"number"},"low":{"type":"number"},"close":{"type":"number"}},"required":["openedAt","open","high","low","close"]}}},"required":["prices","candles"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/crypto/trending":{"post":{"operationId":"cryptoTrending","summary":"crypto.trending","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":false},"example":{}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"coins":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"source":{"type":"string","enum":["coingecko","coinmarketcap"]},"symbol":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"image":{"type":"string","format":"uri"},"rank":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"currency":{"type":"string"},"price":{"type":"number"},"marketCap":{"type":"number"},"volume24h":{"type":"number"},"change24h":{"type":"number"}},"required":["source","url"]}},"categories":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"marketCap":{"type":"number"},"change24h":{"type":"number"},"volume24h":{"type":"number"},"coins":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"topCoins":{"type":"array","items":{"type":"string"}},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["url"]}},"nfts":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"},"url":{"type":"string","format":"uri"},"image":{"type":"string","format":"uri"},"floorPriceText":{"type":"string"},"floorChange24h":{"type":"number"}},"required":["url"]}}},"required":["coins","categories","nfts"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/crypto/categories":{"post":{"operationId":"cryptoCategories","summary":"crypto.categories","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"default":"marketCap","type":"string","enum":["marketCap","change","name"]},"order":{"type":"string","enum":["asc","desc"]},"limit":{"default":100,"type":"integer","minimum":1,"maximum":1000}},"additionalProperties":false},"example":{"limit":50}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"categories":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"marketCap":{"type":"number"},"change24h":{"type":"number"},"volume24h":{"type":"number"},"coins":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"topCoins":{"type":"array","items":{"type":"string"}},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["url"]}},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["categories","total"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/crypto/movers":{"post":{"operationId":"cryptoMovers","summary":"crypto.movers","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"within":{"default":"day","type":"string","enum":["hour","day","week","month"]},"rankUpTo":{"anyOf":[{"type":"number","const":100},{"type":"number","const":200},{"type":"number","const":500}]},"limit":{"default":30,"type":"integer","minimum":5,"maximum":30}},"additionalProperties":false},"example":{}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"gainers":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"source":{"type":"string","enum":["coingecko","coinmarketcap"]},"symbol":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"image":{"type":"string","format":"uri"},"rank":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"currency":{"type":"string"},"price":{"type":"number"},"marketCap":{"type":"number"},"volume24h":{"type":"number"},"change1h":{"type":"number"},"change24h":{"type":"number"},"change7d":{"type":"number"},"change30d":{"type":"number"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["source","url"]}},"losers":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"source":{"type":"string","enum":["coingecko","coinmarketcap"]},"symbol":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"image":{"type":"string","format":"uri"},"rank":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"currency":{"type":"string"},"price":{"type":"number"},"marketCap":{"type":"number"},"volume24h":{"type":"number"},"change1h":{"type":"number"},"change24h":{"type":"number"},"change7d":{"type":"number"},"change30d":{"type":"number"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["source","url"]}}},"required":["gainers","losers"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/crypto/new":{"post":{"operationId":"cryptoNew","summary":"crypto.new","description":"Costs 1 credit per 50 items.","x-credits":1,"x-per-items":50,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"default":100,"type":"integer","minimum":5,"maximum":200}},"additionalProperties":false},"example":{"limit":50}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"coins":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"source":{"type":"string","enum":["coingecko","coinmarketcap"]},"symbol":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"image":{"type":"string","format":"uri"},"rank":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"currency":{"type":"string"},"price":{"type":"number"},"marketCap":{"type":"number"},"fullyDilutedValue":{"type":"number"},"volume24h":{"type":"number"},"change1h":{"type":"number"},"change24h":{"type":"number"},"change7d":{"type":"number"},"change30d":{"type":"number"},"chains":{"type":"array","items":{"type":"string"}},"addedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["source","url"]}}},"required":["coins"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/crypto/dex/search":{"post":{"operationId":"cryptoDexSearch","summary":"crypto.dex.search","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":100},"limit":{"default":100,"type":"integer","minimum":1,"maximum":100}},"required":["query"],"additionalProperties":false},"example":{"query":"pepe"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"pairs":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"chain":{"type":"string"},"dex":{"type":"string"},"url":{"type":"string","format":"uri"},"labels":{"type":"array","items":{"type":"string"}},"baseToken":{"type":"object","additionalProperties":false,"properties":{"address":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"}},"required":[]},"quoteToken":{"type":"object","additionalProperties":false,"properties":{"address":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"}},"required":[]},"price":{"type":"number"},"currency":{"type":"string"},"priceNative":{"type":"number"},"transactions":{"type":"object","additionalProperties":false,"properties":{"m5":{"type":"object","additionalProperties":false,"properties":{"buys":{"type":"integer","minimum":0,"maximum":9007199254740991},"sells":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["buys","sells"]},"h1":{"type":"object","additionalProperties":false,"properties":{"buys":{"type":"integer","minimum":0,"maximum":9007199254740991},"sells":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["buys","sells"]},"h6":{"type":"object","additionalProperties":false,"properties":{"buys":{"type":"integer","minimum":0,"maximum":9007199254740991},"sells":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["buys","sells"]},"h24":{"type":"object","additionalProperties":false,"properties":{"buys":{"type":"integer","minimum":0,"maximum":9007199254740991},"sells":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["buys","sells"]}},"required":["m5","h1","h6","h24"]},"volume":{"type":"object","additionalProperties":false,"properties":{"m5":{"type":"number"},"h1":{"type":"number"},"h6":{"type":"number"},"h24":{"type":"number"}},"required":[]},"priceChange":{"type":"object","additionalProperties":false,"properties":{"m5":{"type":"number"},"h1":{"type":"number"},"h6":{"type":"number"},"h24":{"type":"number"}},"required":[]},"liquidity":{"type":"object","additionalProperties":false,"properties":{"usd":{"type":"number"},"base":{"type":"number"},"quote":{"type":"number"}},"required":[]},"fullyDilutedValue":{"type":"number"},"marketCap":{"type":"number"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"image":{"type":"string","format":"uri"},"websites":{"type":"array","items":{"type":"string","format":"uri"}},"socials":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":["url"]}},"boosts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["url","transactions"]}}},"required":["pairs"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/crypto/dex/pairs":{"post":{"operationId":"cryptoDexPairs","summary":"crypto.dex.pairs","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"chain":{"type":"string","pattern":"^[a-z0-9]{2,30}$"},"pair":{"type":"string","minLength":1}},"required":["pair"],"additionalProperties":false}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"pairs":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"chain":{"type":"string"},"dex":{"type":"string"},"url":{"type":"string","format":"uri"},"labels":{"type":"array","items":{"type":"string"}},"baseToken":{"type":"object","additionalProperties":false,"properties":{"address":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"}},"required":[]},"quoteToken":{"type":"object","additionalProperties":false,"properties":{"address":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"}},"required":[]},"price":{"type":"number"},"currency":{"type":"string"},"priceNative":{"type":"number"},"transactions":{"type":"object","additionalProperties":false,"properties":{"m5":{"type":"object","additionalProperties":false,"properties":{"buys":{"type":"integer","minimum":0,"maximum":9007199254740991},"sells":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["buys","sells"]},"h1":{"type":"object","additionalProperties":false,"properties":{"buys":{"type":"integer","minimum":0,"maximum":9007199254740991},"sells":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["buys","sells"]},"h6":{"type":"object","additionalProperties":false,"properties":{"buys":{"type":"integer","minimum":0,"maximum":9007199254740991},"sells":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["buys","sells"]},"h24":{"type":"object","additionalProperties":false,"properties":{"buys":{"type":"integer","minimum":0,"maximum":9007199254740991},"sells":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["buys","sells"]}},"required":["m5","h1","h6","h24"]},"volume":{"type":"object","additionalProperties":false,"properties":{"m5":{"type":"number"},"h1":{"type":"number"},"h6":{"type":"number"},"h24":{"type":"number"}},"required":[]},"priceChange":{"type":"object","additionalProperties":false,"properties":{"m5":{"type":"number"},"h1":{"type":"number"},"h6":{"type":"number"},"h24":{"type":"number"}},"required":[]},"liquidity":{"type":"object","additionalProperties":false,"properties":{"usd":{"type":"number"},"base":{"type":"number"},"quote":{"type":"number"}},"required":[]},"fullyDilutedValue":{"type":"number"},"marketCap":{"type":"number"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"image":{"type":"string","format":"uri"},"websites":{"type":"array","items":{"type":"string","format":"uri"}},"socials":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":["url"]}},"boosts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["url","transactions"]}}},"required":["pairs"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/crypto/dex/token":{"post":{"operationId":"cryptoDexToken","summary":"crypto.dex.token","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"chain":{"type":"string","pattern":"^[a-z0-9]{2,30}$"},"token":{"type":"string","minLength":1},"limit":{"default":100,"type":"integer","minimum":1,"maximum":100}},"required":["token"],"additionalProperties":false},"example":{"chain":"ethereum","token":"0x6982508145454Ce325dDbE47a25d4ec3d2311933","limit":5}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"token":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"chain":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"},"url":{"type":"string","format":"uri"},"image":{"type":"string","format":"uri"},"price":{"type":"number"},"currency":{"type":"string"},"marketCap":{"type":"number"},"fullyDilutedValue":{"type":"number"},"liquidity":{"type":"number"},"volume24h":{"type":"number"},"pairs":{"type":"integer","minimum":0,"maximum":9007199254740991},"websites":{"type":"array","items":{"type":"string","format":"uri"}},"socials":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":["url"]}}},"required":["url","liquidity","volume24h","pairs"]},"pairs":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"chain":{"type":"string"},"dex":{"type":"string"},"url":{"type":"string","format":"uri"},"labels":{"type":"array","items":{"type":"string"}},"baseToken":{"type":"object","additionalProperties":false,"properties":{"address":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"}},"required":[]},"quoteToken":{"type":"object","additionalProperties":false,"properties":{"address":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"}},"required":[]},"price":{"type":"number"},"currency":{"type":"string"},"priceNative":{"type":"number"},"transactions":{"type":"object","additionalProperties":false,"properties":{"m5":{"type":"object","additionalProperties":false,"properties":{"buys":{"type":"integer","minimum":0,"maximum":9007199254740991},"sells":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["buys","sells"]},"h1":{"type":"object","additionalProperties":false,"properties":{"buys":{"type":"integer","minimum":0,"maximum":9007199254740991},"sells":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["buys","sells"]},"h6":{"type":"object","additionalProperties":false,"properties":{"buys":{"type":"integer","minimum":0,"maximum":9007199254740991},"sells":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["buys","sells"]},"h24":{"type":"object","additionalProperties":false,"properties":{"buys":{"type":"integer","minimum":0,"maximum":9007199254740991},"sells":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["buys","sells"]}},"required":["m5","h1","h6","h24"]},"volume":{"type":"object","additionalProperties":false,"properties":{"m5":{"type":"number"},"h1":{"type":"number"},"h6":{"type":"number"},"h24":{"type":"number"}},"required":[]},"priceChange":{"type":"object","additionalProperties":false,"properties":{"m5":{"type":"number"},"h1":{"type":"number"},"h6":{"type":"number"},"h24":{"type":"number"}},"required":[]},"liquidity":{"type":"object","additionalProperties":false,"properties":{"usd":{"type":"number"},"base":{"type":"number"},"quote":{"type":"number"}},"required":[]},"fullyDilutedValue":{"type":"number"},"marketCap":{"type":"number"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"image":{"type":"string","format":"uri"},"websites":{"type":"array","items":{"type":"string","format":"uri"}},"socials":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":["url"]}},"boosts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["url","transactions"]}}},"required":["token","pairs"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/crypto/dex/new":{"post":{"operationId":"cryptoDexNew","summary":"crypto.dex.new","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"default":"profiles","type":"string","enum":["profiles","boosts","topBoosts","takeovers"]},"chain":{"type":"string","pattern":"^[a-z0-9]{2,30}$"},"includePairs":{"default":true,"type":"boolean"},"limit":{"default":100,"type":"integer","minimum":1,"maximum":100}},"additionalProperties":false},"example":{}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"tokens":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"chain":{"type":"string"},"url":{"type":"string","format":"uri"},"description":{"type":"string"},"image":{"type":"string","format":"uri"},"banner":{"type":"string","format":"uri"},"links":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string"},"label":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":["url"]}},"boosts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"totalBoosts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"claimedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"pair":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"chain":{"type":"string"},"dex":{"type":"string"},"url":{"type":"string","format":"uri"},"labels":{"type":"array","items":{"type":"string"}},"baseToken":{"type":"object","additionalProperties":false,"properties":{"address":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"}},"required":[]},"quoteToken":{"type":"object","additionalProperties":false,"properties":{"address":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"}},"required":[]},"price":{"type":"number"},"currency":{"type":"string"},"priceNative":{"type":"number"},"transactions":{"type":"object","additionalProperties":false,"properties":{"m5":{"type":"object","additionalProperties":false,"properties":{"buys":{"type":"integer","minimum":0,"maximum":9007199254740991},"sells":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["buys","sells"]},"h1":{"type":"object","additionalProperties":false,"properties":{"buys":{"type":"integer","minimum":0,"maximum":9007199254740991},"sells":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["buys","sells"]},"h6":{"type":"object","additionalProperties":false,"properties":{"buys":{"type":"integer","minimum":0,"maximum":9007199254740991},"sells":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["buys","sells"]},"h24":{"type":"object","additionalProperties":false,"properties":{"buys":{"type":"integer","minimum":0,"maximum":9007199254740991},"sells":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["buys","sells"]}},"required":["m5","h1","h6","h24"]},"volume":{"type":"object","additionalProperties":false,"properties":{"m5":{"type":"number"},"h1":{"type":"number"},"h6":{"type":"number"},"h24":{"type":"number"}},"required":[]},"priceChange":{"type":"object","additionalProperties":false,"properties":{"m5":{"type":"number"},"h1":{"type":"number"},"h6":{"type":"number"},"h24":{"type":"number"}},"required":[]},"liquidity":{"type":"object","additionalProperties":false,"properties":{"usd":{"type":"number"},"base":{"type":"number"},"quote":{"type":"number"}},"required":[]},"fullyDilutedValue":{"type":"number"},"marketCap":{"type":"number"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"image":{"type":"string","format":"uri"},"websites":{"type":"array","items":{"type":"string","format":"uri"}},"socials":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":["url"]}},"boosts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["url","transactions"]}},"required":["url"]}}},"required":["tokens"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/crypto/pump/coins":{"post":{"operationId":"cryptoPumpCoins","summary":"crypto.pump.coins","description":"Costs 1 credit per 50 items. Pages with cursor.","x-credits":1,"x-per-items":50,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sort":{"default":"newest","type":"string","enum":["newest","lastTrade","marketCap","lastReply","live"]},"includeNsfw":{"default":false,"type":"boolean"},"limit":{"default":50,"type":"integer","minimum":1,"maximum":200},"cursor":{"type":"string","pattern":"^(?:\\d{1,4}~(?:\\d{1,7})?|(?:\\d{1,7}))$"}},"additionalProperties":false},"example":{"limit":50}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"coins":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"name":{"type":"string"},"symbol":{"type":"string"},"description":{"type":"string"},"image":{"type":"string","format":"uri"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"lastTradeAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"marketCap":{"type":"number"},"athMarketCap":{"type":"number"},"currency":{"type":"string"},"athAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"isGraduated":{"type":"boolean"},"bondingCurveProgress":{"type":"number"},"pool":{"type":"string"},"replies":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"isLive":{"type":"boolean"},"isNsfw":{"type":"boolean"},"website":{"type":"string","format":"uri"},"twitter":{"type":"string","format":"uri"},"telegram":{"type":"string","format":"uri"}},"required":["url","isGraduated","isLive","isNsfw"]}},"cursor":{"type":"string"}},"required":["coins"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/crypto/pump/coin":{"post":{"operationId":"cryptoPumpCoin","summary":"crypto.pump.coin","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"coin":{"type":"string"}},"required":["coin"],"additionalProperties":false}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"coin":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"name":{"type":"string"},"symbol":{"type":"string"},"description":{"type":"string"},"image":{"type":"string","format":"uri"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"lastTradeAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"marketCap":{"type":"number"},"athMarketCap":{"type":"number"},"currency":{"type":"string"},"athAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"isGraduated":{"type":"boolean"},"bondingCurveProgress":{"type":"number"},"pool":{"type":"string"},"replies":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"isLive":{"type":"boolean"},"isNsfw":{"type":"boolean"},"website":{"type":"string","format":"uri"},"twitter":{"type":"string","format":"uri"},"telegram":{"type":"string","format":"uri"}},"required":["url","isGraduated","isLive","isNsfw"]}},"required":["coin"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/crypto/pump/trades":{"post":{"operationId":"cryptoPumpTrades","summary":"crypto.pump.trades","description":"Costs 1 credit per 100 items. Pages with cursor.","x-credits":1,"x-per-items":100,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"coin":{"type":"string"},"limit":{"default":100,"type":"integer","minimum":1,"maximum":500},"cursor":{"type":"string","pattern":"^\\d{1,40}-\\d{1,15}$"}},"required":["coin"],"additionalProperties":false}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"trades":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"type":{"type":"string","enum":["buy","sell"]},"wallet":{"type":"string"},"price":{"type":"number"},"priceSol":{"type":"number"},"value":{"type":"number"},"currency":{"type":"string"},"amountSol":{"type":"number"},"tokenAmount":{"type":"number"},"program":{"type":"string"}},"required":["type"]}},"cursor":{"type":"string"}},"required":["trades"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/crypto/wallet":{"post":{"operationId":"cryptoWallet","summary":"crypto.wallet","description":"Costs 1 credit per 25 items. Pages with cursor.","x-credits":1,"x-per-items":25,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"chain":{"type":"string","enum":["ethereum","base","arbitrum","optimism","polygon","gnosis","bitcoin","solana"]},"wallet":{"type":"string"},"limit":{"default":25,"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","pattern":"^[\\w~]{1,128}$"}},"required":["chain","wallet"],"additionalProperties":false},"example":{"chain":"ethereum","wallet":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045","limit":25}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"chain":{"type":"string"},"address":{"type":"string"},"symbol":{"type":"string"},"balance":{"type":"string"},"balanceValue":{"type":"number"},"currency":{"type":"string"},"tokens":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"amount":{"type":"string"},"value":{"type":"number"},"currency":{"type":"string"}},"required":[]}},"transactions":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"block":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"from":{"type":"string"},"to":{"type":"string"},"value":{"type":"string"},"fee":{"type":"string"},"status":{"type":"string","enum":["success","failed","pending"]},"method":{"type":"string"}},"required":["status"]}},"cursor":{"type":"string"}},"required":["transactions"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/crypto/token/holders":{"post":{"operationId":"cryptoTokenHolders","summary":"crypto.token.holders","description":"Costs 1 credit per 50 items. Pages with cursor.","x-credits":1,"x-per-items":50,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"chain":{"type":"string","enum":["ethereum","base","arbitrum","optimism","polygon","gnosis"]},"token":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"limit":{"default":50,"type":"integer","minimum":1,"maximum":250},"cursor":{"type":"string","pattern":"^\\d{1,7}:\\d{1,80}:0x[a-fA-F0-9]{40}$"}},"required":["chain","token"],"additionalProperties":false},"example":{"chain":"ethereum","token":"0xdAC17F958D2ee523a2206206994597C13D831ec7","limit":50}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"token":{"type":"object","additionalProperties":false,"properties":{"address":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"},"decimals":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"holders":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"totalSupply":{"type":"string"},"price":{"type":"number"},"currency":{"type":"string"}},"required":[]},"holders":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"address":{"type":"string"},"amount":{"type":"string"},"percent":{"type":"number"},"isContract":{"type":"boolean"},"label":{"type":"string"}},"required":[]}},"cursor":{"type":"string"}},"required":["holders"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/crypto/binance/announcements":{"post":{"operationId":"cryptoBinanceAnnouncements","summary":"crypto.binance.announcements","description":"Costs 1 credit per 20 items. Pages with cursor.","x-credits":1,"x-per-items":20,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"category":{"default":"listings","type":"string","enum":["listings","delistings","news","activities","airdrops","maintenance","api"]},"limit":{"default":20,"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","pattern":"^(?:\\d{1,4}~(?:[1-9]\\d{0,4})?|(?:[1-9]\\d{0,4}))$"}},"additionalProperties":false},"example":{"category":"listings"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"announcements":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"code":{"type":"string"},"title":{"type":"string"},"url":{"type":"string","format":"uri"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"symbols":{"type":"array","items":{"type":"string"}}},"required":["url"]}},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"cursor":{"type":"string"}},"required":["announcements"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/indeed/search":{"post":{"operationId":"indeedSearch","summary":"indeed.search","description":"Costs 1 credit per 20 items. Pages with cursor.","x-credits":1,"x-per-items":20,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","maxLength":200},"location":{"type":"string","minLength":2,"maxLength":200},"radiusKm":{"default":40,"type":"number","minimum":0,"maximum":160},"country":{"default":"us","enum":["us","gb","ca","au","nz","ie","in","sg","my","ph","za","ng","ae","sa","qa","kw","bh","om","pk","hk","jp","kr","tw","cn","id","th","vn","de","at","ch","fr","be","nl","lu","es","pt","it","gr","mt","cy","pl","cz","sk","hu","ro","bg","hr","si","ee","lv","lt","fi","se","no","dk","ua","tr","il","eg","ma","mx","br","ar","cl","co","pe","ec","uy","ve","cr","pa"],"description":"ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.","type":"string"},"jobType":{"type":"string","enum":["fullTime","partTime","contract","internship"]},"remote":{"default":false,"type":"boolean"},"within":{"default":"all","type":"string","enum":["day","threeDays","week","twoWeeks","month","all"]},"salary":{"type":"object","properties":{"min":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["min"]},"sort":{"default":"relevance","type":"string","enum":["relevance","newest"]},"limit":{"default":25,"type":"integer","minimum":1,"maximum":500},"cursor":{"type":"string","pattern":"^\\d{1,3}\\.\\d{1,3}\\.[A-Za-z\\d+/]*={0,2}$"}},"additionalProperties":false},"example":{"query":"data analyst","location":"Chicago, IL","limit":25}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"jobs":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"title":{"type":"string"},"company":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"website":{"type":"string","format":"uri"},"industry":{"type":"string"},"employeesText":{"type":"string"},"revenueText":{"type":"string"},"description":{"type":"string"}},"required":[]},"address":{"type":"object","additionalProperties":false,"properties":{"full":{"type":"string"},"street":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postalCode":{"type":"string"},"country":{"type":"string"}},"required":[]},"location":{"type":"object","additionalProperties":false,"properties":{"lat":{"type":"number","minimum":-90,"maximum":90},"lng":{"type":"number","minimum":-180,"maximum":180}},"required":["lat","lng"]},"salary":{"type":"object","additionalProperties":false,"properties":{"min":{"type":"number"},"max":{"type":"number"},"period":{"type":"string","enum":["hour","day","week","month","year"]},"currency":{"type":"string"},"isEstimate":{"type":"boolean"}},"required":["isEstimate"]},"jobTypes":{"type":"array","items":{"type":"string","enum":["fullTime","partTime","contract","internship"]}},"isRemote":{"type":"boolean"},"attributes":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"indexedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"applyUrl":{"type":"string","format":"uri"},"isEasyApply":{"type":"boolean"},"isUrgent":{"type":"boolean"},"source":{"type":"string"},"description":{"type":"string"}},"required":["url","isRemote","isEasyApply","isUrgent"]}},"cursor":{"type":"string"}},"required":["jobs"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/indeed/job":{"post":{"operationId":"indeedJob","summary":"indeed.job","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"job":{"type":"string"},"country":{"enum":["us","gb","ca","au","nz","ie","in","sg","my","ph","za","ng","ae","sa","qa","kw","bh","om","pk","hk","jp","kr","tw","cn","id","th","vn","de","at","ch","fr","be","nl","lu","es","pt","it","gr","mt","cy","pl","cz","sk","hu","ro","bg","hr","si","ee","lv","lt","fi","se","no","dk","ua","tr","il","eg","ma","mx","br","ar","cl","co","pe","ec","uy","ve","cr","pa"],"description":"ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.","type":"string"}},"required":["job"],"additionalProperties":false}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"job":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"title":{"type":"string"},"company":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"website":{"type":"string","format":"uri"},"industry":{"type":"string"},"employeesText":{"type":"string"},"revenueText":{"type":"string"},"description":{"type":"string"}},"required":[]},"address":{"type":"object","additionalProperties":false,"properties":{"full":{"type":"string"},"street":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postalCode":{"type":"string"},"country":{"type":"string"}},"required":[]},"location":{"type":"object","additionalProperties":false,"properties":{"lat":{"type":"number","minimum":-90,"maximum":90},"lng":{"type":"number","minimum":-180,"maximum":180}},"required":["lat","lng"]},"salary":{"type":"object","additionalProperties":false,"properties":{"min":{"type":"number"},"max":{"type":"number"},"period":{"type":"string","enum":["hour","day","week","month","year"]},"currency":{"type":"string"},"isEstimate":{"type":"boolean"}},"required":["isEstimate"]},"jobTypes":{"type":"array","items":{"type":"string","enum":["fullTime","partTime","contract","internship"]}},"isRemote":{"type":"boolean"},"attributes":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"indexedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"applyUrl":{"type":"string","format":"uri"},"isEasyApply":{"type":"boolean"},"isUrgent":{"type":"boolean"},"source":{"type":"string"},"description":{"type":"string"},"descriptionHtml":{"type":"string"},"isExpired":{"type":"boolean"},"language":{"type":"string"}},"required":["url","isRemote","isEasyApply","isUrgent","isExpired"]}},"required":["job"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/tripadvisor/search":{"post":{"operationId":"tripadvisorSearch","summary":"tripadvisor.search","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","minLength":2,"maxLength":200},"type":{"default":"all","type":"string","enum":["all","hotels","restaurants","attractions","geos"]},"limit":{"default":10,"type":"integer","minimum":1,"maximum":20}},"required":["query"],"additionalProperties":false},"example":{"query":"Eiffel Tower"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"results":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"url":{"type":"string","format":"uri"},"address":{"type":"object","additionalProperties":false,"properties":{"full":{"type":"string"},"street":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postalCode":{"type":"string"},"country":{"type":"string"}},"required":[]},"parent":{"type":"string"},"location":{"type":"object","additionalProperties":false,"properties":{"lat":{"type":"number"},"lng":{"type":"number"}},"required":["lat","lng"]},"image":{"type":"string","format":"uri"}},"required":[]}}},"required":["results"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/tripadvisor/place":{"post":{"operationId":"tripadvisorPlace","summary":"tripadvisor.place","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"place":{"type":"string"}},"required":["place"],"additionalProperties":false}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"place":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"subtypes":{"type":"array","items":{"type":"string"}},"url":{"type":"string","format":"uri"},"rating":{"type":"number"},"reviews":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"ranking":{"type":"object","additionalProperties":false,"properties":{"text":{"type":"string"},"position":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"of":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"geo":{"type":"string"}},"required":[]},"priceLevel":{"type":"string"},"priceRangeText":{"type":"string"},"hotelClass":{"type":"number"},"description":{"type":"string"},"address":{"type":"object","additionalProperties":false,"properties":{"full":{"type":"string"},"street":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"country":{"type":"string"},"postalCode":{"type":"string"}},"required":[]},"location":{"type":"object","additionalProperties":false,"properties":{"lat":{"type":"number"},"lng":{"type":"number"}},"required":["lat","lng"]},"phone":{"type":"string"},"website":{"type":"string","format":"uri"},"email":{"type":"string"},"neighborhoods":{"type":"array","items":{"type":"string"}},"parents":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":[]}},"cuisines":{"type":"array","items":{"type":"string"}},"hours":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"days":{"type":"string"},"times":{"type":"array","items":{"type":"string"}}},"required":[]}},"tags":{"type":"array","items":{"type":"string"}},"image":{"type":"string","format":"uri"},"timezone":{"type":"string"},"isClosed":{"type":"boolean"}},"required":["isClosed"]}},"required":["place"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/tripadvisor/reviews":{"post":{"operationId":"tripadvisorReviews","summary":"tripadvisor.reviews","description":"Costs 1 credit per 20 items. Pages with cursor.","x-credits":1,"x-per-items":20,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"place":{"type":"string"},"language":{"default":"en","type":"string","pattern":"^(?:[Aa][Ll][Ll]|[A-Za-z]{2}(?:-[A-Za-z]{2})?)$"},"ratings":{"default":[],"maxItems":5,"type":"array","items":{"type":"integer","minimum":1,"maximum":5}},"limit":{"default":20,"type":"integer","minimum":1,"maximum":200},"cursor":{"type":"string","pattern":"^\\d{1,7}$"}},"required":["place"],"additionalProperties":false}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"place":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":[]},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reviews":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"rating":{"type":"number"},"title":{"type":"string"},"text":{"type":"string"},"language":{"type":"string"},"createdDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"publishedDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"stayDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"tripType":{"type":"string"},"helpful":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"subRatings":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"rating":{"type":"number"}},"required":["rating"]}},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"},"address":{"type":"object","additionalProperties":false,"properties":{"full":{"type":"string"},"street":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postalCode":{"type":"string"},"country":{"type":"string"}},"required":[]},"contributions":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":[]},"ownerReply":{"type":"object","additionalProperties":false,"properties":{"text":{"type":"string"},"publishedDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]}},"required":[]}},"required":["helpful"]}},"cursor":{"type":"string"}},"required":["reviews"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/googletravel/flights":{"post":{"operationId":"googletravelFlights","summary":"googletravel.flights","description":"Costs 3 credits.","x-credits":3,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"origin":{"type":"string","pattern":"^[A-Za-z]{3}$","description":"IATA airport code, e.g. JFK. Any case is accepted."},"destination":{"type":"string","pattern":"^[A-Za-z]{3}$","description":"IATA airport code, e.g. JFK. Any case is accepted."},"departDate":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"returnDate":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"adults":{"default":1,"type":"integer","minimum":1,"maximum":9},"children":{"default":0,"type":"integer","minimum":0,"maximum":8},"cabin":{"default":"economy","type":"string","enum":["economy","premiumEconomy","business","first"]},"maxStops":{"type":"integer","minimum":0,"maximum":2},"currency":{"default":"USD","type":"string"},"language":{"default":"en","type":"string","pattern":"^[A-Za-z]{2,3}(?:[-_][A-Za-z0-9]{2,4})?$","description":"BCP 47 language tag, e.g. en or pt-BR. Any case is accepted."}},"required":["origin","destination","departDate"],"additionalProperties":false},"example":{"origin":"JFK","destination":"LAX","departDate":"2026-11-12"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"currency":{"type":"string"},"flights":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"isBest":{"type":"boolean"},"price":{"type":"number"},"airlines":{"type":"array","items":{"type":"string"}},"stops":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"durationSeconds":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"departureLocalTime":{"description":"Local time at the airport, YYYY-MM-DDTHH:mm, no time zone.","type":"string"},"arrivalLocalTime":{"description":"Local time at the airport, YYYY-MM-DDTHH:mm, no time zone.","type":"string"},"legs":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"flightNumber":{"type":"string"},"airline":{"type":"string"},"origin":{"type":"object","additionalProperties":false,"properties":{"code":{"type":"string"},"name":{"type":"string"}},"required":[]},"destination":{"type":"object","additionalProperties":false,"properties":{"code":{"type":"string"},"name":{"type":"string"}},"required":[]},"departureLocalTime":{"description":"Local time at the airport, YYYY-MM-DDTHH:mm, no time zone.","type":"string"},"arrivalLocalTime":{"description":"Local time at the airport, YYYY-MM-DDTHH:mm, no time zone.","type":"string"},"durationSeconds":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"aircraft":{"type":"string"},"legroom":{"type":"string"}},"required":[]}},"layovers":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"airport":{"type":"string"},"name":{"type":"string"},"city":{"type":"string"},"durationSeconds":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":[]}},"emissionsGrams":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"typicalEmissionsGrams":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["isBest","stops"]}}},"required":["url","flights"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/amazon/search":{"post":{"operationId":"amazonSearch","summary":"amazon.search","description":"Costs 5 credits per 20 items. Pages with cursor.","x-credits":5,"x-per-items":20,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":300},"category":{"type":"string","pattern":"^([a-z][a-z-]{1,40}|\\d{3,15})$"},"price":{"type":"object","properties":{"min":{"type":"number","minimum":0},"max":{"type":"number","minimum":0}}},"sort":{"default":"relevance","type":"string","enum":["relevance","priceLow","priceHigh","mostReviewed","newest","bestSelling"]},"prime":{"default":false,"type":"boolean"},"country":{"default":"us","enum":["us","gb","de","fr","it","es","ca","jp","in","au","mx","br","nl","se","pl","sg","ae","sa","tr","be","eg"],"description":"ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.","type":"string"},"limit":{"default":20,"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","pattern":"^(?:\\d{1,4}~(?:[2-9]|1\\d|20)?|(?:[2-9]|1\\d|20))$"}},"additionalProperties":false},"example":{"query":"wireless earbuds"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"products":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"position":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"id":{"type":"string"},"url":{"type":"string","format":"uri"},"title":{"type":"string"},"image":{"type":"string","format":"uri"},"price":{"type":"number","minimum":0},"originalPrice":{"type":"number","minimum":0},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"ISO 4217 currency code, e.g. USD."},"rating":{"type":"number"},"reviews":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"boughtPastMonth":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"isSponsored":{"type":"boolean"}},"required":["position","url","isSponsored"]}},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"cursor":{"type":"string"}},"required":["products"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/amazon/product":{"post":{"operationId":"amazonProduct","summary":"amazon.product","description":"Costs 5 credits.","x-credits":5,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"product":{"type":"string"},"country":{"enum":["us","gb","de","fr","it","es","ca","jp","in","au","mx","br","nl","se","pl","sg","ae","sa","tr","be","eg"],"description":"ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.","type":"string"}},"required":["product"],"additionalProperties":false}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"product":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"title":{"type":"string"},"brand":{"type":"string"},"price":{"type":"number","minimum":0},"originalPrice":{"type":"number","minimum":0},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"ISO 4217 currency code, e.g. USD."},"availability":{"type":"string"},"rating":{"type":"number"},"reviews":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"bullets":{"type":"array","items":{"type":"string"}},"description":{"type":"string"},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"variants":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"attributes":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}}},"required":[]}},"seller":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"id":{"type":"string"},"shipsFrom":{"type":"string"}},"required":[]},"categories":{"type":"array","items":{"type":"string"}},"bestSellersRank":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"rank":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"category":{"type":"string"}},"required":["rank"]}},"specs":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"topReviews":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"rating":{"type":"number"},"title":{"type":"string"},"text":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"isVerified":{"type":"boolean"},"variant":{"type":"string"},"helpful":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}}},"required":["isVerified"]}}},"required":["url"]}},"required":["product"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/amazon/bestsellers":{"post":{"operationId":"amazonBestsellers","summary":"amazon.bestsellers","description":"Costs 2 credits per 50 items. Pages with cursor.","x-credits":2,"x-per-items":50,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"category":{"type":"string"},"country":{"default":"us","enum":["us","gb","de","fr","it","es","ca","jp","in","au","mx","br","nl","se","pl","sg","ae","sa","tr","be","eg"],"description":"ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.","type":"string"},"limit":{"default":50,"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","pattern":"^(?:\\d{1,4}~(?:2)?|(?:2))$"}},"required":["category"],"additionalProperties":false},"example":{"category":"electronics"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"category":{"type":"string"},"products":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"rank":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"id":{"type":"string"},"url":{"type":"string","format":"uri"},"title":{"type":"string"},"image":{"type":"string","format":"uri"},"price":{"type":"number","minimum":0},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"ISO 4217 currency code, e.g. USD."},"rating":{"type":"number"},"reviews":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["rank","url"]}},"cursor":{"type":"string"}},"required":["products"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/shopify/products":{"post":{"operationId":"shopifyProducts","summary":"shopify.products","description":"Costs 1 credit per 25 items. Pages with cursor.","x-credits":1,"x-per-items":25,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"store":{"type":"string"},"collection":{"type":"string","pattern":"^[\\p{L}\\p{N}][\\p{L}\\p{N}_-]{0,254}$"},"limit":{"default":250,"type":"integer","minimum":1,"maximum":1000},"cursor":{"type":"string","pattern":"^(?:\\d{1,4}~(?:\\d{1,4}:\\d{1,3})?|(?:\\d{1,4}:\\d{1,3}))$"}},"required":["store"],"additionalProperties":false},"example":{"store":"allbirds.com","limit":50}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"products":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"slug":{"type":"string"},"url":{"type":"string","format":"uri"},"title":{"type":"string"},"vendor":{"type":"string"},"productType":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"description":{"type":"string"},"price":{"type":"number","minimum":0},"maxPrice":{"type":"number","minimum":0},"originalPrice":{"type":"number","minimum":0},"isAvailable":{"type":"boolean"},"options":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}},"required":[]}},"variants":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"title":{"type":"string"},"sku":{"type":"string"},"price":{"type":"number","minimum":0},"originalPrice":{"type":"number","minimum":0},"isAvailable":{"type":"boolean"},"options":{"type":"array","items":{"type":"string"}},"weightGrams":{"type":"number"}},"required":["isAvailable"]}},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"publishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["url","isAvailable"]}},"cursor":{"type":"string"}},"required":["products"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/shopify/collections":{"post":{"operationId":"shopifyCollections","summary":"shopify.collections","description":"Costs 1 credit per 100 items. Pages with cursor.","x-credits":1,"x-per-items":100,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"store":{"type":"string"},"limit":{"default":250,"type":"integer","minimum":1,"maximum":1000},"cursor":{"type":"string","pattern":"^(?:\\d{1,4}~(?:\\d{1,4}:\\d{1,3})?|(?:\\d{1,4}:\\d{1,3}))$"}},"required":["store"],"additionalProperties":false},"example":{"store":"allbirds.com"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"collections":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"slug":{"type":"string"},"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"image":{"type":"string","format":"uri"},"products":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"publishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["url"]}},"cursor":{"type":"string"}},"required":["collections"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/shopify/store":{"post":{"operationId":"shopifyStore","summary":"shopify.store","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"store":{"type":"string"}},"required":["store"],"additionalProperties":false},"example":{"store":"allbirds.com"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"store":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"isShopify":{"type":"boolean"},"name":{"type":"string"},"description":{"type":"string"},"myshopifyDomain":{"type":"string"},"domain":{"type":"string"},"currency":{"type":"string"},"address":{"type":"object","additionalProperties":false,"properties":{"full":{"type":"string"},"street":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postalCode":{"type":"string"},"country":{"type":"string"}},"required":[]},"shipsTo":{"type":"array","items":{"type":"string"}},"products":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"collections":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["url","isShopify"]}},"required":["store"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/walmart/search":{"post":{"operationId":"walmartSearch","summary":"walmart.search","description":"Costs 5 credits per 40 items. Pages with cursor.","x-credits":5,"x-per-items":40,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":300},"sort":{"default":"relevance","type":"string","enum":["relevance","priceLow","priceHigh","bestSelling","highest","newest"]},"price":{"type":"object","properties":{"min":{"type":"number","minimum":0},"max":{"type":"number","minimum":0}}},"limit":{"default":40,"type":"integer","minimum":1,"maximum":400},"cursor":{"type":"string","pattern":"^(?:\\d{1,4}~(?:[2-9]|1\\d|2[0-5])?|(?:[2-9]|1\\d|2[0-5]))$"}},"required":["query"],"additionalProperties":false},"example":{"query":"air fryer"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"products":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"position":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"id":{"type":"string"},"url":{"type":"string","format":"uri"},"title":{"type":"string"},"image":{"type":"string","format":"uri"},"price":{"type":"number","minimum":0},"originalPrice":{"type":"number","minimum":0},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"ISO 4217 currency code, e.g. USD."},"rating":{"type":"number"},"reviews":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"seller":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"}},"required":[]},"availability":{"type":"string"},"isSponsored":{"type":"boolean"}},"required":["position","url","isSponsored"]}},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"cursor":{"type":"string"}},"required":["products"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/walmart/product":{"post":{"operationId":"walmartProduct","summary":"walmart.product","description":"Costs 3 credits.","x-credits":3,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"product":{"type":"string"}},"required":["product"],"additionalProperties":false}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"product":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"title":{"type":"string"},"brand":{"type":"string"},"price":{"type":"number","minimum":0},"originalPrice":{"type":"number","minimum":0},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"ISO 4217 currency code, e.g. USD."},"availability":{"type":"string"},"rating":{"type":"number"},"reviews":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"seller":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"id":{"type":"string"}},"required":[]},"categories":{"type":"array","items":{"type":"string"}},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"description":{"type":"string"},"highlights":{"type":"string"},"specs":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"variants":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}},"required":[]}},"upc":{"type":"string"},"model":{"type":"string"},"topReviews":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"rating":{"type":"number"},"title":{"type":"string"},"text":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"helpful":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":[]}}},"required":["url"]}},"required":["product"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/aliexpress/search":{"post":{"operationId":"aliexpressSearch","summary":"aliexpress.search","description":"Costs 2 credits per 60 items. Pages with cursor.","x-credits":2,"x-per-items":60,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":200},"sort":{"default":"relevance","type":"string","enum":["relevance","bestSelling","priceLow","priceHigh"]},"price":{"type":"object","properties":{"min":{"type":"number","minimum":0},"max":{"type":"number","minimum":0}}},"limit":{"default":60,"type":"integer","minimum":1,"maximum":300},"cursor":{"type":"string","pattern":"^(?:\\d{1,4}~(?:[2-9]|[1-5]\\d|60)?|(?:[2-9]|[1-5]\\d|60))$"}},"required":["query"],"additionalProperties":false},"example":{"query":"phone case"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"products":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"position":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"id":{"type":"string"},"url":{"type":"string","format":"uri"},"title":{"type":"string"},"image":{"type":"string","format":"uri"},"price":{"type":"number","minimum":0},"originalPrice":{"type":"number","minimum":0},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"ISO 4217 currency code, e.g. USD."},"rating":{"type":"number"},"sold":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"isSponsored":{"type":"boolean"}},"required":["position","url","isSponsored"]}},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"cursor":{"type":"string"}},"required":["products"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/aliexpress/product":{"post":{"operationId":"aliexpressProduct","summary":"aliexpress.product","description":"Costs 2 credits.","x-credits":2,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"product":{"type":"string"}},"required":["product"],"additionalProperties":false}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"product":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"title":{"type":"string"},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"price":{"type":"number","minimum":0},"originalPrice":{"type":"number","minimum":0},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"ISO 4217 currency code, e.g. USD."},"rating":{"type":"number"},"reviews":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"sold":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"store":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"id":{"type":"string"},"sellerId":{"type":"string"},"positivePercent":{"type":"number"}},"required":[]},"options":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}},"required":[]}},"skus":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"attributes":{"type":"string"},"price":{"type":"number","minimum":0},"originalPrice":{"type":"number","minimum":0},"stock":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"isAvailable":{"type":"boolean"}},"required":["isAvailable"]}},"specs":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"categoryId":{"type":"string"}},"required":["url"]}},"required":["product"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/appstore/app":{"post":{"operationId":"appstoreApp","summary":"appstore.app","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"app":{"type":"string"},"country":{"type":"string","pattern":"^[A-Za-z]{2}$","description":"ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted."}},"required":["app"],"additionalProperties":false},"example":{"app":"284882215"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"app":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"bundleId":{"type":"string"},"name":{"type":"string"},"subtitle":{"type":"string"},"url":{"type":"string","format":"uri"},"developer":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":[]},"seller":{"type":"string"},"website":{"type":"string","format":"uri"},"price":{"type":"number"},"currency":{"type":"string"},"priceText":{"type":"string"},"hasInAppPurchases":{"type":"boolean"},"genres":{"type":"array","items":{"type":"string"}},"primaryGenre":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":[]},"contentRating":{"type":"string"},"description":{"type":"string"},"releaseNotes":{"type":"string"},"version":{"type":"string"},"releasedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"minimumOsVersion":{"type":"string"},"sizeBytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"languages":{"type":"array","items":{"type":"string"}},"rating":{"type":"number"},"ratings":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"histogram":{"type":"object","additionalProperties":false,"properties":{"one":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"two":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"three":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"four":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"five":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["one","two","three","four","five"]},"chart":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"genre":{"type":"string"},"position":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["position"]},"icon":{"type":"string","format":"uri"},"screenshots":{"type":"array","items":{"type":"string","format":"uri"}},"ipadScreenshots":{"type":"array","items":{"type":"string","format":"uri"}}},"required":["url"]}},"required":["app"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/appstore/search":{"post":{"operationId":"appstoreSearch","summary":"appstore.search","description":"Costs 1 credit per 20 items.","x-credits":1,"x-per-items":20,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":100},"country":{"default":"us","type":"string","pattern":"^[A-Za-z]{2}$","description":"ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted."},"device":{"default":"iphone","type":"string","enum":["iphone","ipad","mac"]},"limit":{"default":50,"type":"integer","minimum":1,"maximum":200}},"required":["query"],"additionalProperties":false},"example":{"query":"photo editor","limit":20}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"apps":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"bundleId":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"developer":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":[]},"seller":{"type":"string"},"website":{"type":"string","format":"uri"},"price":{"type":"number"},"currency":{"type":"string"},"priceText":{"type":"string"},"genres":{"type":"array","items":{"type":"string"}},"primaryGenre":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":[]},"contentRating":{"type":"string"},"description":{"type":"string"},"releaseNotes":{"type":"string"},"version":{"type":"string"},"releasedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"minimumOsVersion":{"type":"string"},"sizeBytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"languages":{"type":"array","items":{"type":"string"}},"rating":{"type":"number"},"ratings":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"icon":{"type":"string","format":"uri"},"screenshots":{"type":"array","items":{"type":"string","format":"uri"}},"ipadScreenshots":{"type":"array","items":{"type":"string","format":"uri"}}},"required":["url"]}}},"required":["apps"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/appstore/reviews":{"post":{"operationId":"appstoreReviews","summary":"appstore.reviews","description":"Costs 1 credit per 20 items. Pages with cursor.","x-credits":1,"x-per-items":20,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"app":{"type":"string"},"country":{"type":"string","pattern":"^[A-Za-z]{2}$","description":"ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted."},"sort":{"default":"newest","type":"string","enum":["newest","helpful","highest","lowest"]},"limit":{"default":20,"type":"integer","minimum":1,"maximum":200},"cursor":{"type":"string","pattern":"^(?:\\d{1,4}~(?:\\d{1,7})?|(?:\\d{1,7}))$"}},"required":["app"],"additionalProperties":false},"example":{"app":"284882215","limit":40}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"reviews":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"rating":{"type":"integer","minimum":1,"maximum":5},"title":{"type":"string"},"text":{"type":"string"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"isEdited":{"type":"boolean"}},"required":["rating","isEdited"]}},"cursor":{"type":"string"}},"required":["reviews"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/appstore/top":{"post":{"operationId":"appstoreTop","summary":"appstore.top","description":"Costs 1 credit per 100 items.","x-credits":1,"x-per-items":100,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"chart":{"default":"free","type":"string","enum":["free","paid","grossing"]},"device":{"default":"iphone","type":"string","enum":["iphone","ipad","mac"]},"genre":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"country":{"default":"us","type":"string","pattern":"^[A-Za-z]{2}$","description":"ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted."},"limit":{"default":100,"type":"integer","minimum":1,"maximum":200}},"additionalProperties":false},"example":{"limit":50}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"apps":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"rank":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"id":{"type":"string"},"bundleId":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"developer":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":[]},"price":{"type":"number"},"currency":{"type":"string"},"genre":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":[]},"releasedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"summary":{"type":"string"},"icon":{"type":"string","format":"uri"}},"required":["rank","url"]}}},"required":["apps"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/googleplay/app":{"post":{"operationId":"googleplayApp","summary":"googleplay.app","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"app":{"type":"string"},"country":{"default":"us","type":"string","pattern":"^[A-Za-z]{2}$","description":"ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted."},"language":{"default":"en","type":"string","pattern":"^[A-Za-z]{2,3}(?:[-_][A-Za-z0-9]{2,4})?$","description":"BCP 47 language tag, e.g. en or pt-BR. Any case is accepted."}},"required":["app"],"additionalProperties":false},"example":{"app":"com.spotify.music"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"app":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"name":{"type":"string"},"summary":{"type":"string"},"description":{"type":"string"},"developer":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"},"website":{"type":"string","format":"uri"},"address":{"type":"object","additionalProperties":false,"properties":{"full":{"type":"string"},"street":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postalCode":{"type":"string"},"country":{"type":"string"}},"required":[]}},"required":[]},"privacyPolicy":{"type":"string","format":"uri"},"genre":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":[]},"contentRating":{"type":"string"},"installs":{"type":"object","additionalProperties":false,"properties":{"text":{"type":"string"},"min":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"exact":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":[]},"rating":{"type":"number"},"ratings":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reviews":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"histogram":{"type":"object","additionalProperties":false,"properties":{"one":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"two":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"three":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"four":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"five":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["one","two","three","four","five"]},"price":{"type":"number"},"currency":{"type":"string"},"hasInAppPurchases":{"type":"boolean"},"inAppPriceText":{"type":"string"},"hasAds":{"type":"boolean"},"version":{"type":"string"},"recentChanges":{"type":"string"},"releasedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"icon":{"type":"string","format":"uri"},"banner":{"type":"string","format":"uri"},"screenshots":{"type":"array","items":{"type":"string","format":"uri"}}},"required":["url","hasInAppPurchases","hasAds"]}},"required":["app"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/googleplay/search":{"post":{"operationId":"googleplaySearch","summary":"googleplay.search","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":100},"country":{"default":"us","type":"string","pattern":"^[A-Za-z]{2}$","description":"ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted."},"language":{"default":"en","type":"string","pattern":"^[A-Za-z]{2,3}(?:[-_][A-Za-z0-9]{2,4})?$","description":"BCP 47 language tag, e.g. en or pt-BR. Any case is accepted."},"limit":{"default":50,"type":"integer","minimum":1,"maximum":50}},"required":["query"],"additionalProperties":false},"example":{"query":"photo editor"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"apps":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"name":{"type":"string"},"developer":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"}},"required":[]},"summary":{"type":"string"},"genre":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"}},"required":[]},"installs":{"type":"object","additionalProperties":false,"properties":{"text":{"type":"string"},"min":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":[]},"rating":{"type":"number"},"price":{"type":"number"},"currency":{"type":"string"},"icon":{"type":"string","format":"uri"}},"required":["url"]}}},"required":["apps"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/googleplay/reviews":{"post":{"operationId":"googleplayReviews","summary":"googleplay.reviews","description":"Costs 1 credit per 20 items. Pages with cursor.","x-credits":1,"x-per-items":20,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"app":{"type":"string"},"country":{"default":"us","type":"string","pattern":"^[A-Za-z]{2}$","description":"ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted."},"language":{"default":"en","type":"string","pattern":"^[A-Za-z]{2,3}(?:[-_][A-Za-z0-9]{2,4})?$","description":"BCP 47 language tag, e.g. en or pt-BR. Any case is accepted."},"sort":{"default":"newest","type":"string","enum":["newest","relevance","highest"]},"rating":{"type":"integer","minimum":1,"maximum":5},"limit":{"default":100,"type":"integer","minimum":1,"maximum":500},"cursor":{"type":"string","pattern":"^[\\w-]{20,400}$"}},"required":["app"],"additionalProperties":false},"example":{"app":"com.spotify.music","limit":40}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"reviews":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"rating":{"type":"integer","minimum":1,"maximum":5},"text":{"type":"string"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"appVersion":{"type":"string"},"ownerReply":{"type":"object","additionalProperties":false,"properties":{"text":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":[]}},"required":["url","rating","likes"]}},"cursor":{"type":"string"}},"required":["reviews"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/airbnb/search":{"post":{"operationId":"airbnbSearch","summary":"airbnb.search","description":"Costs 2 credits per 18 items. Pages with cursor.","x-credits":2,"x-per-items":18,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"location":{"type":"string","minLength":2,"maxLength":200},"checkIn":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"checkOut":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"adults":{"default":1,"type":"integer","minimum":1,"maximum":16},"children":{"default":0,"type":"integer","minimum":0,"maximum":15},"infants":{"default":0,"type":"integer","minimum":0,"maximum":5},"pets":{"default":0,"type":"integer","minimum":0,"maximum":5},"price":{"type":"object","properties":{"min":{"type":"number","minimum":0},"max":{"type":"number","minimum":0}}},"currency":{"type":"string","pattern":"^[A-Za-z]{3}$"},"roomType":{"type":"string","enum":["entireHome","privateRoom","sharedRoom","hotelRoom"]},"bedrooms":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":50}},"required":["min"]},"bathrooms":{"type":"object","properties":{"min":{"type":"number","minimum":0,"maximum":50}},"required":["min"]},"amenities":{"minItems":1,"type":"array","items":{"type":"string","enum":["wifi","kitchen","washer","dryer","airConditioning","heating","workspace","tv","hairDryer","iron","pool","hotTub","freeParking","evCharger","crib","gym","bbqGrill","breakfast","fireplace","smokingAllowed","smokeAlarm","carbonMonoxideAlarm","selfCheckIn"]}},"superhost":{"type":"boolean"},"instantBook":{"type":"boolean"},"guestFavorite":{"type":"boolean"},"limit":{"default":18,"type":"integer","minimum":1,"maximum":270},"cursor":{"type":"string","pattern":"^(?:\\d{1,4}~(?:\\d{1,7})?|(?:\\d{1,7}))$"}},"required":["location"],"additionalProperties":false},"example":{"location":"Lisbon, Portugal"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"listings":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"name":{"type":"string"},"title":{"type":"string"},"subtitle":{"type":"string"},"price":{"type":"number"},"originalPrice":{"type":"number"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"ISO 4217 currency code, e.g. USD."},"priceText":{"type":"string"},"rating":{"type":"number"},"reviews":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"bedrooms":{"type":"number"},"beds":{"type":"number"},"bathrooms":{"type":"number"},"location":{"type":"object","additionalProperties":false,"properties":{"lat":{"type":"number"},"lng":{"type":"number"}},"required":["lat","lng"]},"badges":{"type":"array","items":{"type":"string"}},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}}},"required":["url"]}},"cursor":{"type":"string"}},"required":["listings"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/airbnb/listing":{"post":{"operationId":"airbnbListing","summary":"airbnb.listing","description":"Costs 2 credits.","x-credits":2,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"listing":{"type":"string"}},"required":["listing"],"additionalProperties":false}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"listing":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"name":{"type":"string"},"headline":{"type":"string"},"description":{"type":"string"},"propertyType":{"type":"string"},"roomType":{"type":"string"},"guests":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"bedrooms":{"type":"number"},"beds":{"type":"number"},"bathrooms":{"type":"number"},"isPetFriendly":{"type":"boolean"},"isGuestFavorite":{"type":"boolean"},"rating":{"type":"number"},"reviews":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"ratingCategories":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"ratingDistribution":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"host":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"},"isSuperhost":{"type":"boolean"},"isVerified":{"type":"boolean"},"rating":{"type":"number"},"reviews":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"yearsHosting":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"bio":{"type":"string"},"responsePercent":{"type":"number"},"responseTime":{"type":"string"},"highlights":{"type":"array","items":{"type":"string"}},"avatar":{"type":"string","format":"uri"}},"required":["isSuperhost","isVerified"]},"highlights":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"title":{"type":"string"},"description":{"type":"string"}},"required":[]}},"amenities":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"group":{"type":"string"},"name":{"type":"string"},"isAvailable":{"type":"boolean"}},"required":["isAvailable"]}},"houseRules":{"type":"array","items":{"type":"string"}},"safety":{"type":"array","items":{"type":"string"}},"location":{"type":"object","additionalProperties":false,"properties":{"lat":{"type":"number"},"lng":{"type":"number"}},"required":["lat","lng"]},"isLocationExact":{"type":"boolean"},"area":{"type":"string"},"neighborhood":{"type":"string"},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}}},"required":["url","isGuestFavorite","host","isLocationExact"]}},"required":["listing"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/airbnb/calendar":{"post":{"operationId":"airbnbCalendar","summary":"airbnb.calendar","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"listing":{"type":"string"},"month":{"type":"string","pattern":"^\\d{4}-(0[1-9]|1[0-2])$"},"months":{"default":3,"type":"integer","minimum":1,"maximum":12}},"required":["listing"],"additionalProperties":false}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"days":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"date":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"isAvailable":{"type":"boolean"},"isBookable":{"type":"boolean"},"isCheckInDay":{"type":"boolean"},"isCheckOutDay":{"type":"boolean"},"minNights":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"maxNights":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"priceText":{"type":"string"}},"required":["date","isAvailable","isBookable","isCheckInDay","isCheckOutDay"]}}},"required":["days"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/airbnb/reviews":{"post":{"operationId":"airbnbReviews","summary":"airbnb.reviews","description":"Costs 1 credit per 25 items. Pages with cursor.","x-credits":1,"x-per-items":25,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"listing":{"type":"string"},"sort":{"default":"newest","type":"string","enum":["relevance","newest","highest","lowest"]},"limit":{"default":50,"type":"integer","minimum":1,"maximum":500},"cursor":{"type":"string","pattern":"^\\d{1,7}$"}},"required":["listing"],"additionalProperties":false}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"reviews":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"text":{"type":"string"},"rating":{"type":"number"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"language":{"type":"string"},"stayLength":{"type":"string"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"},"address":{"type":"object","additionalProperties":false,"properties":{"full":{"type":"string"},"street":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postalCode":{"type":"string"},"country":{"type":"string"}},"required":[]}},"required":[]},"ownerReply":{"type":"object","additionalProperties":false,"properties":{"text":{"type":"string"}},"required":[]}},"required":[]}},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"cursor":{"type":"string"}},"required":["reviews"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/redfin/search":{"post":{"operationId":"redfinSearch","summary":"redfin.search","description":"Costs 1 credit per 20 items. Pages with cursor.","x-credits":1,"x-per-items":20,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"location":{"type":"string","minLength":2,"maxLength":200},"status":{"default":"forSale","type":"string","enum":["forSale","sold"]},"soldWithin":{"default":"threeMonths","type":"string","enum":["week","month","threeMonths","sixMonths","year","twoYears","threeYears","fiveYears"]},"sort":{"default":"relevance","type":"string","enum":["relevance","newest","priceLow","priceHigh","sqft","pricePerSqft"]},"price":{"type":"object","properties":{"min":{"type":"number","minimum":0},"max":{"type":"number","minimum":0}}},"bedrooms":{"type":"object","properties":{"min":{"type":"number","minimum":0},"max":{"type":"number","minimum":0}}},"bathrooms":{"type":"object","properties":{"min":{"type":"number","minimum":0,"maximum":10}},"required":["min"]},"homeTypes":{"minItems":1,"type":"array","items":{"type":"string","enum":["house","condo","townhouse","multiFamily","land","other","manufactured","coop"]}},"sqft":{"type":"object","properties":{"min":{"type":"number","minimum":0},"max":{"type":"number","minimum":0}}},"lotSqft":{"type":"object","properties":{"min":{"type":"number","minimum":0},"max":{"type":"number","minimum":0}}},"yearBuilt":{"type":"object","properties":{"min":{"type":"number","minimum":0},"max":{"type":"number","minimum":0}}},"daysOnMarket":{"type":"object","properties":{"min":{"type":"number","minimum":0},"max":{"type":"number","minimum":0}}},"limit":{"default":40,"type":"integer","minimum":1,"maximum":350},"cursor":{"type":"string","pattern":"^\\d{1,7}$"}},"required":["location"],"additionalProperties":false},"example":{"location":"Seattle, WA"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"listings":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"listingId":{"type":"string"},"url":{"type":"string","format":"uri"},"status":{"type":"string"},"price":{"type":"number","minimum":0},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"ISO 4217 currency code, e.g. USD."},"bedrooms":{"type":"number"},"bathrooms":{"type":"number"},"sqft":{"type":"number"},"lotSqft":{"type":"number"},"pricePerSqft":{"type":"number"},"yearBuilt":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"hoa":{"type":"number"},"daysOnMarket":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"lastSoldAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"homeType":{"type":"string"},"mlsId":{"type":"string"},"neighborhood":{"type":"string"},"address":{"type":"object","additionalProperties":false,"properties":{"full":{"type":"string"},"street":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postalCode":{"type":"string"},"country":{"type":"string"},"unit":{"type":"string"}},"required":[]},"location":{"type":"object","additionalProperties":false,"properties":{"lat":{"type":"number","minimum":-90,"maximum":90},"lng":{"type":"number","minimum":-180,"maximum":180}},"required":["lat","lng"]},"remarks":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}}},"required":["url"]}},"median":{"type":"object","additionalProperties":false,"properties":{"price":{"type":"number"},"sqft":{"type":"number"},"pricePerSqft":{"type":"number"},"daysOnMarket":{"type":"number"}},"required":[]},"cursor":{"type":"string"}},"required":["listings"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/redfin/property":{"post":{"operationId":"redfinProperty","summary":"redfin.property","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"property":{"type":"string"}},"required":["property"],"additionalProperties":false}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"property":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"status":{"type":"string"},"price":{"type":"number","minimum":0},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"ISO 4217 currency code, e.g. USD."},"priceText":{"type":"string"},"estimate":{"type":"number"},"lastSoldPrice":{"type":"number"},"lastSoldAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"bedrooms":{"type":"number"},"bathrooms":{"type":"number"},"sqft":{"type":"number"},"lotSqft":{"type":"number"},"yearBuilt":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"stories":{"type":"number"},"propertyType":{"type":"string"},"apn":{"type":"string"},"county":{"type":"string"},"description":{"type":"string"},"address":{"type":"object","additionalProperties":false,"properties":{"full":{"type":"string"},"street":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postalCode":{"type":"string"},"country":{"type":"string"},"unit":{"type":"string"}},"required":[]},"location":{"type":"object","additionalProperties":false,"properties":{"lat":{"type":"number","minimum":-90,"maximum":90},"lng":{"type":"number","minimum":-180,"maximum":180}},"required":["lat","lng"]},"priceHistory":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"date":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"event":{"type":"string"},"price":{"type":"number"},"source":{"type":"string"},"mlsId":{"type":"string"}},"required":["date"]}},"taxHistory":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"year":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"landValue":{"type":"number"},"improvementValue":{"type":"number"},"taxes":{"type":"number"}},"required":["year"]}},"facts":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"group":{"type":"string"},"name":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}},"required":[]}},"schools":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"grades":{"type":"string"},"rating":{"type":"number"},"parentRating":{"type":"number"},"distanceMiles":{"type":"number"},"students":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"isServingHome":{"type":"boolean"},"district":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":["isServingHome","url"]}},"comparables":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"status":{"type":"string"},"price":{"type":"number","minimum":0},"bedrooms":{"type":"number"},"bathrooms":{"type":"number"},"sqft":{"type":"number"},"lastSoldAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"address":{"type":"object","additionalProperties":false,"properties":{"full":{"type":"string"},"street":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postalCode":{"type":"string"},"country":{"type":"string"}},"required":[]}},"required":["url"]}}},"required":["url"]}},"required":["property"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/realtor/search":{"post":{"operationId":"realtorSearch","summary":"realtor.search","description":"Costs 1 credit per 20 items. Pages with cursor.","x-credits":1,"x-per-items":20,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"location":{"type":"string","minLength":2,"maxLength":200},"status":{"default":"forSale","type":"string","enum":["forSale","forRent","sold","pending"]},"soldWithin":{"default":"threeMonths","type":"string","enum":["week","month","threeMonths","sixMonths","year","twoYears","threeYears","fiveYears"]},"sort":{"type":"string","enum":["relevance","newest","priceLow","priceHigh","sqft","recentlySold"]},"price":{"type":"object","properties":{"min":{"type":"number","minimum":0},"max":{"type":"number","minimum":0}}},"bedrooms":{"type":"object","properties":{"min":{"type":"number","minimum":0},"max":{"type":"number","minimum":0}}},"bathrooms":{"type":"object","properties":{"min":{"type":"number","minimum":0},"max":{"type":"number","minimum":0}}},"sqft":{"type":"object","properties":{"min":{"type":"number","minimum":0},"max":{"type":"number","minimum":0}}},"lotSqft":{"type":"object","properties":{"min":{"type":"number","minimum":0},"max":{"type":"number","minimum":0}}},"yearBuilt":{"type":"object","properties":{"min":{"type":"number","minimum":0},"max":{"type":"number","minimum":0}}},"hoa":{"type":"object","properties":{"max":{"type":"number","minimum":0}},"required":["max"]},"homeTypes":{"minItems":1,"type":"array","items":{"type":"string","enum":["house","condo","townhouse","multiFamily","duplex","apartment","mobile","land","farm"]}},"newConstruction":{"type":"boolean"},"foreclosure":{"type":"boolean"},"queries":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"string","minLength":1,"maxLength":60}},"limit":{"default":50,"type":"integer","minimum":1,"maximum":200},"cursor":{"type":"string","pattern":"^\\d{1,7}$"}},"required":["location"],"additionalProperties":false},"example":{"location":"Denver, CO"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"listings":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"listingId":{"type":"string"},"url":{"type":"string","format":"uri"},"status":{"type":"string"},"price":{"type":"number","minimum":0},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"ISO 4217 currency code, e.g. USD."},"priceRange":{"type":"object","additionalProperties":false,"properties":{"min":{"type":"number","minimum":0},"max":{"type":"number","minimum":0}},"required":[]},"bedrooms":{"type":"number"},"bedroomsMax":{"type":"number"},"bathrooms":{"type":"number"},"sqft":{"type":"number"},"lotSqft":{"type":"number"},"yearBuilt":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"homeType":{"type":"string"},"pricePerSqft":{"type":"number"},"hoa":{"type":"number"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"lastSoldPrice":{"type":"number"},"lastSoldAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"flags":{"type":"object","additionalProperties":false,"properties":{"isPending":{"type":"boolean"},"isContingent":{"type":"boolean"},"isNewConstruction":{"type":"boolean"},"isForeclosure":{"type":"boolean"}},"required":["isPending","isContingent","isNewConstruction","isForeclosure"]},"address":{"type":"object","additionalProperties":false,"properties":{"full":{"type":"string"},"street":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postalCode":{"type":"string"},"country":{"type":"string"},"unit":{"type":"string"},"county":{"type":"string"}},"required":[]},"location":{"type":"object","additionalProperties":false,"properties":{"lat":{"type":"number","minimum":-90,"maximum":90},"lng":{"type":"number","minimum":-180,"maximum":180}},"required":["lat","lng"]},"image":{"type":"string","format":"uri"},"totalImages":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"broker":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"}},"required":[]},"tags":{"type":"array","items":{"type":"string"}}},"required":["flags"]}},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"cursor":{"type":"string"}},"required":["listings"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/realtor/property":{"post":{"operationId":"realtorProperty","summary":"realtor.property","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"property":{"type":"string"}},"required":["property"],"additionalProperties":false}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"property":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"listingId":{"type":"string"},"url":{"type":"string","format":"uri"},"status":{"type":"string"},"price":{"type":"number","minimum":0},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"ISO 4217 currency code, e.g. USD."},"priceRange":{"type":"object","additionalProperties":false,"properties":{"min":{"type":"number","minimum":0},"max":{"type":"number","minimum":0}},"required":[]},"bedrooms":{"type":"number"},"bedroomsMax":{"type":"number"},"bathrooms":{"type":"number"},"sqft":{"type":"number"},"lotSqft":{"type":"number"},"yearBuilt":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"homeType":{"type":"string"},"pricePerSqft":{"type":"number"},"hoa":{"type":"number"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"lastSoldPrice":{"type":"number"},"lastSoldAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"flags":{"type":"object","additionalProperties":false,"properties":{"isPending":{"type":"boolean"},"isContingent":{"type":"boolean"},"isNewConstruction":{"type":"boolean"},"isForeclosure":{"type":"boolean"}},"required":["isPending","isContingent","isNewConstruction","isForeclosure"]},"address":{"type":"object","additionalProperties":false,"properties":{"full":{"type":"string"},"street":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postalCode":{"type":"string"},"country":{"type":"string"},"unit":{"type":"string"},"county":{"type":"string"}},"required":[]},"location":{"type":"object","additionalProperties":false,"properties":{"lat":{"type":"number","minimum":-90,"maximum":90},"lng":{"type":"number","minimum":-180,"maximum":180}},"required":["lat","lng"]},"image":{"type":"string","format":"uri"},"totalImages":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"broker":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"}},"required":[]},"tags":{"type":"array","items":{"type":"string"}},"description":{"type":"string"},"stories":{"type":"number"},"garage":{"type":"number"},"daysOnMarket":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"mls":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"},"listingId":{"type":"string"}},"required":[]},"neighborhoods":{"type":"array","items":{"type":"string"}},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"details":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"category":{"type":"string"},"items":{"type":"array","items":{"type":"string"}}},"required":[]}},"estimates":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"source":{"type":"string"},"estimate":{"type":"number"},"low":{"type":"number"},"high":{"type":"number"},"date":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"}},"required":[]}},"priceHistory":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"date":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"event":{"type":"string"},"price":{"type":"number"},"source":{"type":"string"}},"required":["date"]}},"taxHistory":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"year":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"tax":{"type":"number"},"assessedTotal":{"type":"number"},"assessedLand":{"type":"number"},"assessedBuilding":{"type":"number"}},"required":["year"]}},"schools":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"},"rating":{"type":"number"},"parentRating":{"type":"number"},"distanceMiles":{"type":"number"},"levels":{"type":"array","items":{"type":"string"}},"grades":{"type":"array","items":{"type":"string"}},"funding":{"type":"string"},"students":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"district":{"type":"string"}},"required":[]}},"agents":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"type":{"type":"string"},"email":{"type":"string"},"phones":{"type":"array","items":{"type":"string"}},"office":{"type":"string"}},"required":[]}}},"required":["flags"]}},"required":["property"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/rightmove/search":{"post":{"operationId":"rightmoveSearch","summary":"rightmove.search","description":"Costs 1 credit per 24 items. Pages with cursor.","x-credits":1,"x-per-items":24,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"location":{"type":"string","minLength":2,"maxLength":200},"status":{"default":"forSale","type":"string","enum":["forSale","forRent"]},"sort":{"default":"newest","type":"string","enum":["newest","oldest","priceHigh","priceLow"]},"radiusKm":{"type":"number","minimum":0,"maximum":65},"price":{"type":"object","properties":{"min":{"type":"number","minimum":0},"max":{"type":"number","minimum":0}}},"bedrooms":{"type":"object","properties":{"min":{"type":"number","minimum":0},"max":{"type":"number","minimum":0}}},"propertyTypes":{"minItems":1,"type":"array","items":{"type":"string","enum":["detached","semiDetached","terraced","flat","bungalow","land","parkHome"]}},"mustHave":{"minItems":1,"type":"array","items":{"type":"string","enum":["garden","parking","newHome","retirement","sharedOwnership","auction"]}},"within":{"default":"all","type":"string","enum":["day","threeDays","week","twoWeeks","all"]},"includeUnderOffer":{"default":false,"type":"boolean"},"queries":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"string","minLength":1,"maxLength":60}},"limit":{"default":24,"type":"integer","minimum":1,"maximum":240},"cursor":{"type":"string","pattern":"^(?:\\d{1,4}~(?:\\d{1,3})?|(?:\\d{1,3}))$"}},"required":["location"],"additionalProperties":false},"example":{"location":"Manchester"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"listings":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"address":{"type":"object","additionalProperties":false,"properties":{"full":{"type":"string"},"street":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postalCode":{"type":"string"},"country":{"type":"string"}},"required":[]},"summary":{"type":"string"},"price":{"type":"number","minimum":0},"priceText":{"type":"string"},"priceQualifier":{"type":"string"},"frequency":{"type":"string"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"ISO 4217 currency code, e.g. USD."},"bedrooms":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"bathrooms":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"propertyType":{"type":"string"},"sizeText":{"type":"string"},"tenure":{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string"},"yearsRemaining":{"type":"number"}},"required":[]},"firstListedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"updateReason":{"type":"string"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"isFeatured":{"type":"boolean"},"isAuction":{"type":"boolean"},"location":{"type":"object","additionalProperties":false,"properties":{"lat":{"type":"number","minimum":-90,"maximum":90},"lng":{"type":"number","minimum":-180,"maximum":180}},"required":["lat","lng"]},"agent":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"branchId":{"type":"string"},"phone":{"type":"string"}},"required":[]},"keyFeatures":{"type":"array","items":{"type":"string"}},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}}},"required":["url","isFeatured","isAuction"]}},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"cursor":{"type":"string"}},"required":["listings"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/rightmove/property":{"post":{"operationId":"rightmoveProperty","summary":"rightmove.property","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"property":{"type":"string"}},"required":["property"],"additionalProperties":false}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"property":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"address":{"type":"object","additionalProperties":false,"properties":{"full":{"type":"string"},"street":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postalCode":{"type":"string"},"country":{"type":"string"}},"required":[]},"description":{"type":"string"},"price":{"type":"number","minimum":0},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"ISO 4217 currency code, e.g. USD."},"priceText":{"type":"string"},"priceQualifier":{"type":"string"},"pricePerSqft":{"type":"number"},"channel":{"type":"string"},"bedrooms":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"bathrooms":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"propertyType":{"type":"string"},"tenure":{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string"},"yearsRemaining":{"type":"number"}},"required":[]},"sizes":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"value":{"type":"number"},"unit":{"type":"string"}},"required":["value"]}},"councilTaxBand":{"type":"string"},"annualServiceCharge":{"type":"number"},"annualGroundRent":{"type":"number"},"updateReason":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"keyFeatures":{"type":"array","items":{"type":"string"}},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"}},"required":["url"]}},"floorplans":{"type":"array","items":{"type":"string","format":"uri"}},"location":{"type":"object","additionalProperties":false,"properties":{"lat":{"type":"number","minimum":-90,"maximum":90},"lng":{"type":"number","minimum":-180,"maximum":180}},"required":["lat","lng"]},"nearestStations":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"types":{"type":"array","items":{"type":"string"}},"distanceMiles":{"type":"number"}},"required":[]}},"agent":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"branchId":{"type":"string"},"phone":{"type":"string"},"company":{"type":"string"},"address":{"type":"object","additionalProperties":false,"properties":{"full":{"type":"string"},"street":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postalCode":{"type":"string"},"country":{"type":"string"}},"required":[]}},"required":[]}},"required":["url"]}},"required":["property"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/immoscout/search":{"post":{"operationId":"immoscoutSearch","summary":"immoscout.search","description":"Costs 1 credit per 25 items. Pages with cursor.","x-credits":1,"x-per-items":25,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"location":{"type":"string","minLength":2,"maxLength":200},"type":{"default":"apartmentRent","type":"string","enum":["apartmentRent","apartmentBuy","houseRent","houseBuy","land","flatShare","shortTerm"]},"sort":{"default":"newest","type":"string","enum":["newest","priceLow","priceHigh","largest"]},"price":{"type":"object","properties":{"min":{"type":"number","minimum":0},"max":{"type":"number","minimum":0}}},"rooms":{"type":"object","properties":{"min":{"type":"number","minimum":0},"max":{"type":"number","minimum":0}}},"livingSpace":{"type":"object","properties":{"min":{"type":"number","minimum":0},"max":{"type":"number","minimum":0}}},"equipment":{"minItems":1,"type":"array","items":{"type":"string","enum":["balcony","builtInKitchen","garden","cellar","parking","lift","stepFree","guestToilet"]}},"newConstruction":{"type":"boolean"},"query":{"type":"string","minLength":1,"maxLength":100},"limit":{"default":50,"type":"integer","minimum":1,"maximum":200},"cursor":{"type":"string","pattern":"^(?:\\d{1,4}~(?:[1-9]\\d{0,4})?|(?:[1-9]\\d{0,4}))$"}},"required":["location"],"additionalProperties":false},"example":{"location":"Berlin"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"listings":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"title":{"type":"string"},"type":{"type":"string"},"address":{"type":"object","additionalProperties":false,"properties":{"full":{"type":"string"},"street":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postalCode":{"type":"string"},"country":{"type":"string"}},"required":[]},"price":{"type":"number"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"ISO 4217 currency code, e.g. USD."},"priceText":{"type":"string"},"livingSpace":{"type":"number"},"rooms":{"type":"number"},"energyClass":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"isPrivate":{"type":"boolean"},"isProject":{"type":"boolean"},"isNew":{"type":"boolean"},"image":{"type":"string","format":"uri"}},"required":["url","isPrivate","isProject","isNew"]}},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"cursor":{"type":"string"}},"required":["listings"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/immoscout/listing":{"post":{"operationId":"immoscoutListing","summary":"immoscout.listing","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"listing":{"type":"string"}},"required":["listing"],"additionalProperties":false}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"listing":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"title":{"type":"string"},"type":{"type":"string"},"status":{"type":"string"},"address":{"type":"object","additionalProperties":false,"properties":{"full":{"type":"string"},"street":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postalCode":{"type":"string"},"country":{"type":"string"},"district":{"type":"string"}},"required":[]},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"ISO 4217 currency code, e.g. USD."},"baseRent":{"type":"number"},"totalRent":{"type":"number"},"serviceCharge":{"type":"number"},"price":{"type":"number"},"livingSpace":{"type":"number"},"rooms":{"type":"number"},"yearBuilt":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"energyClass":{"type":"string"},"attributes":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"group":{"type":"string"},"label":{"type":"string"},"value":{"type":"string"}},"required":[]}},"texts":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"title":{"type":"string"},"text":{"type":"string"}},"required":[]}},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"}},"required":["url"]}},"agent":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"company":{"type":"string"},"phone":{"type":"string"},"rating":{"type":"number"},"url":{"type":"string","format":"uri"},"address":{"type":"object","additionalProperties":false,"properties":{"full":{"type":"string"},"street":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postalCode":{"type":"string"},"country":{"type":"string"}},"required":[]}},"required":[]}},"required":["url"]}},"required":["listing"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/pinterest/search":{"post":{"operationId":"pinterestSearch","summary":"pinterest.search","description":"Costs 1 credit per 25 items. Pages with cursor.","x-credits":1,"x-per-items":25,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":200},"type":{"default":"pins","type":"string","enum":["pins","videos"]},"limit":{"default":25,"type":"integer","minimum":1,"maximum":500},"cursor":{"type":"string","pattern":"^(?:\\d{1,4}~(?:[\\w+/=|-]{8,4096})?|(?:[\\w+/=|-]{8,4096}))$"}},"required":["query"],"additionalProperties":false},"example":{"query":"kitchen ideas","limit":25}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"pins":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"title":{"type":"string"},"text":{"type":"string"},"altText":{"type":"string"},"link":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"image":{"type":"string","format":"uri"}},"required":["url"]},"domain":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"image":{"type":"string","format":"uri"},"width":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"height":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"dominantColor":{"type":"string"},"video":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"durationSeconds":{"type":"number"}},"required":["url"]},"saves":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reposts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"comments":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reactions":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"isPromoted":{"type":"boolean"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"},"followers":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":[]},"board":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":["url"]}},"required":["url","isPromoted"]}},"cursor":{"type":"string"}},"required":["pins"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/pinterest/pin":{"post":{"operationId":"pinterestPin","summary":"pinterest.pin","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"pin":{"type":"string"}},"required":["pin"],"additionalProperties":false}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"pin":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"title":{"type":"string"},"text":{"type":"string"},"altText":{"type":"string"},"link":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"image":{"type":"string","format":"uri"}},"required":["url"]},"domain":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"image":{"type":"string","format":"uri"},"width":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"height":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"dominantColor":{"type":"string"},"video":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"durationSeconds":{"type":"number"}},"required":["url"]},"saves":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reposts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"comments":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reactions":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"isPromoted":{"type":"boolean"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"},"followers":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":[]},"board":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":["url"]}},"required":["url","isPromoted"]}},"required":["pin"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/pinterest/board":{"post":{"operationId":"pinterestBoard","summary":"pinterest.board","description":"Costs 1 credit per 25 items. Pages with cursor.","x-credits":1,"x-per-items":25,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"board":{"type":"string"},"limit":{"default":25,"type":"integer","minimum":1,"maximum":500},"cursor":{"type":"string","pattern":"^(?:\\d{1,4}~(?:[\\w+/=|-]{8,4096})?|(?:[\\w+/=|-]{8,4096}))$"}},"required":["board"],"additionalProperties":false}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"board":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"description":{"type":"string"},"category":{"type":"string"},"pins":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"followers":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"sections":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"thumbnail":{"type":"string","format":"uri"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"},"followers":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":[]}},"required":["url"]},"pins":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"title":{"type":"string"},"text":{"type":"string"},"altText":{"type":"string"},"link":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"image":{"type":"string","format":"uri"}},"required":["url"]},"domain":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"image":{"type":"string","format":"uri"},"width":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"height":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"dominantColor":{"type":"string"},"video":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"durationSeconds":{"type":"number"}},"required":["url"]},"saves":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reposts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"comments":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reactions":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"isPromoted":{"type":"boolean"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"},"followers":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":[]},"board":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":["url"]}},"required":["url","isPromoted"]}},"cursor":{"type":"string"}},"required":["board","pins"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/pinterest/user":{"post":{"operationId":"pinterestUser","summary":"pinterest.user","description":"Costs 1 credit per 25 items. Pages with cursor.","x-credits":1,"x-per-items":25,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"user":{"type":"string"},"limit":{"default":25,"type":"integer","minimum":1,"maximum":500},"cursor":{"type":"string","pattern":"^(?:\\d{1,4}~(?:[\\w+/=|-]{8,4096})?|(?:[\\w+/=|-]{8,4096}))$"}},"required":["user"],"additionalProperties":false},"example":{"user":"marthastewart","limit":25}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"profile":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"followers":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"bio":{"type":"string"},"website":{"type":"string","format":"uri"},"following":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"pins":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"boards":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"isVerified":{"type":"boolean"},"isPrivate":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["url","isVerified","isPrivate"]},"pins":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"title":{"type":"string"},"text":{"type":"string"},"altText":{"type":"string"},"link":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"image":{"type":"string","format":"uri"}},"required":["url"]},"domain":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"image":{"type":"string","format":"uri"},"width":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"height":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"dominantColor":{"type":"string"},"video":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"durationSeconds":{"type":"number"}},"required":["url"]},"saves":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reposts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"comments":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reactions":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"isPromoted":{"type":"boolean"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"},"followers":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":[]},"board":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":["url"]}},"required":["url","isPromoted"]}},"cursor":{"type":"string"}},"required":["profile","pins"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/pinterest/ads/search":{"post":{"operationId":"pinterestAdsSearch","summary":"pinterest.ads.search","description":"Costs 1 credit per 24 items. Pages with cursor.","x-credits":1,"x-per-items":24,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"country":{"type":"string","pattern":"^[A-Za-z]{2}$","description":"ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted."},"advertiser":{"type":"string","minLength":1,"maxLength":200},"from":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"to":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"limit":{"default":24,"type":"integer","minimum":1,"maximum":200},"cursor":{"type":"string","pattern":"^(?:\\d{1,4}~(?:[\\w+/=|-]{8,4096})?|(?:[\\w+/=|-]{8,4096}))$"}},"required":["country"],"additionalProperties":false},"example":{"country":"DE"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"ads":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"headline":{"type":"string"},"text":{"type":"string"},"advertisers":{"type":"array","items":{"type":"string"}},"image":{"type":"string","format":"uri"},"video":{"type":"string","format":"uri"},"links":{"type":"array","items":{"type":"string","format":"uri"}},"firstShownAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"lastShownAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"euReach":{"type":"object","additionalProperties":false,"properties":{"min":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"max":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":[]},"reachByCountry":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"country":{"type":"string"},"reach":{"type":"object","additionalProperties":false,"properties":{"min":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"max":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":[]}},"required":[]}},"countries":{"type":"array","items":{"type":"string"}},"ageRanges":{"type":"array","items":{"type":"string"}},"genders":{"type":"array","items":{"type":"string"}},"interests":{"type":"array","items":{"type":"string"}},"audienceTypes":{"type":"array","items":{"type":"string"}},"isCommercial":{"type":"boolean"}},"required":["url","isCommercial"]}},"cursor":{"type":"string"}},"required":["ads"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/pinterest/ads/ad":{"post":{"operationId":"pinterestAdsAd","summary":"pinterest.ads.ad","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"ad":{"type":"string"}},"required":["ad"],"additionalProperties":false}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"ad":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"headline":{"type":"string"},"text":{"type":"string"},"advertisers":{"type":"array","items":{"type":"string"}},"image":{"type":"string","format":"uri"},"video":{"type":"string","format":"uri"},"links":{"type":"array","items":{"type":"string","format":"uri"}},"firstShownAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"lastShownAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"euReach":{"type":"object","additionalProperties":false,"properties":{"min":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"max":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":[]},"reachByCountry":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"country":{"type":"string"},"reach":{"type":"object","additionalProperties":false,"properties":{"min":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"max":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":[]}},"required":[]}},"countries":{"type":"array","items":{"type":"string"}},"ageRanges":{"type":"array","items":{"type":"string"}},"genders":{"type":"array","items":{"type":"string"}},"interests":{"type":"array","items":{"type":"string"}},"audienceTypes":{"type":"array","items":{"type":"string"}},"isCommercial":{"type":"boolean"}},"required":["url","isCommercial"]}},"required":["ad"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/x/tweet":{"post":{"operationId":"xTweet","summary":"x.tweet","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"tweet":{"type":"string"}},"required":["tweet"],"additionalProperties":false},"example":{"tweet":"https://x.com/jack/status/20"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"tweet":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"text":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"language":{"type":"string"},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"replies":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"},"verifiedType":{"type":"string"}},"required":[]},"media":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string","enum":["photo","video","gif"]},"url":{"type":"string","format":"uri"},"thumbnail":{"type":"string","format":"uri"},"width":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"height":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"durationSeconds":{"type":"number"}},"required":["type","url"]}},"links":{"type":"array","items":{"type":"string","format":"uri"}},"hashtags":{"type":"array","items":{"type":"string"}},"mentions":{"type":"array","items":{"type":"string"}},"replyTo":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"username":{"type":"string"}},"required":[]},"isEdited":{"type":"boolean"},"isSensitive":{"type":"boolean"},"parent":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"text":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"language":{"type":"string"},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"replies":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"},"verifiedType":{"type":"string"}},"required":[]},"media":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string","enum":["photo","video","gif"]},"url":{"type":"string","format":"uri"},"thumbnail":{"type":"string","format":"uri"},"width":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"height":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"durationSeconds":{"type":"number"}},"required":["type","url"]}},"links":{"type":"array","items":{"type":"string","format":"uri"}},"hashtags":{"type":"array","items":{"type":"string"}},"mentions":{"type":"array","items":{"type":"string"}},"replyTo":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"username":{"type":"string"}},"required":[]},"isEdited":{"type":"boolean"},"isSensitive":{"type":"boolean"}},"required":["url","isEdited","isSensitive"]},"quoted":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"text":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"language":{"type":"string"},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"replies":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"},"verifiedType":{"type":"string"}},"required":[]},"media":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string","enum":["photo","video","gif"]},"url":{"type":"string","format":"uri"},"thumbnail":{"type":"string","format":"uri"},"width":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"height":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"durationSeconds":{"type":"number"}},"required":["type","url"]}},"links":{"type":"array","items":{"type":"string","format":"uri"}},"hashtags":{"type":"array","items":{"type":"string"}},"mentions":{"type":"array","items":{"type":"string"}},"replyTo":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"username":{"type":"string"}},"required":[]},"isEdited":{"type":"boolean"},"isSensitive":{"type":"boolean"}},"required":["url","isEdited","isSensitive"]}},"required":["url","isEdited","isSensitive"]}},"required":["tweet"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/kick/channel":{"post":{"operationId":"kickChannel","summary":"kick.channel","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"channel":{"type":"string"}},"required":["channel"],"additionalProperties":false},"example":{"channel":"xqc"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"channel":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"url":{"type":"string","format":"uri"},"name":{"type":"string"},"bio":{"type":"string"},"avatar":{"type":"string","format":"uri"},"banner":{"type":"string","format":"uri"},"followers":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"isVerified":{"type":"boolean"},"isAffiliate":{"type":"boolean"},"isBanned":{"type":"boolean"},"socials":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"username":{"type":"string"}},"required":[]}},"recentCategories":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"slug":{"type":"string"}},"required":[]}},"live":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"title":{"type":"string"},"viewers":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"language":{"type":"string"},"isMature":{"type":"boolean"},"categories":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"slug":{"type":"string"}},"required":[]}}},"required":["isMature"]}},"required":["url","isVerified","isAffiliate","isBanned"]}},"required":["channel"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/kick/videos":{"post":{"operationId":"kickVideos","summary":"kick.videos","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"channel":{"type":"string"},"limit":{"default":25,"type":"integer","minimum":1,"maximum":25}},"required":["channel"],"additionalProperties":false},"example":{"channel":"xqc"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"videos":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"title":{"type":"string"},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"durationSeconds":{"type":"number"},"views":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"language":{"type":"string"},"isMature":{"type":"boolean"},"thumbnail":{"type":"string","format":"uri"},"stream":{"type":"string","format":"uri"},"categories":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"slug":{"type":"string"}},"required":[]}}},"required":["url","isMature"]}}},"required":["videos"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/kick/clips":{"post":{"operationId":"kickClips","summary":"kick.clips","description":"Costs 1 credit per 20 items. Pages with cursor.","x-credits":1,"x-per-items":20,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"channel":{"type":"string"},"sort":{"default":"top","type":"string","enum":["top","newest"]},"within":{"default":"all","type":"string","enum":["day","week","month","all"]},"limit":{"default":20,"type":"integer","minimum":1,"maximum":200},"cursor":{"type":"string","pattern":"^(?:\\d{1,4}~(?:[\\w-]{2,400})?|(?:[\\w-]{2,400}))$"}},"required":["channel"],"additionalProperties":false},"example":{"channel":"xqc","limit":20}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"clips":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"title":{"type":"string"},"views":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"durationSeconds":{"type":"number"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"isMature":{"type":"boolean"},"thumbnail":{"type":"string","format":"uri"},"video":{"type":"string","format":"uri"},"category":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"slug":{"type":"string"}},"required":[]},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]}},"required":["url","isMature"]}},"cursor":{"type":"string"}},"required":["clips"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/finance/quote":{"post":{"operationId":"financeQuote","summary":"finance.quote","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"symbols":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","pattern":"^[\\w.^=-]{1,20}$"}}},"required":["symbols"],"additionalProperties":false},"example":{"symbols":["AAPL","MSFT","NVDA"]}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"quotes":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"symbol":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"exchange":{"type":"string"},"currency":{"type":"string"},"marketState":{"type":"string"},"price":{"type":"number"},"change":{"type":"number"},"changePercent":{"type":"number"},"open":{"type":"number"},"high":{"type":"number"},"low":{"type":"number"},"previousClose":{"type":"number"},"volume":{"type":"number"},"averageVolume":{"type":"number"},"marketCap":{"type":"number"},"fiftyTwoWeekHigh":{"type":"number"},"fiftyTwoWeekLow":{"type":"number"},"peRatio":{"type":"number"},"forwardPeRatio":{"type":"number"},"earningsPerShare":{"type":"number"},"dividendYield":{"type":"number"},"preMarketPrice":{"type":"number"},"postMarketPrice":{"type":"number"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":[]}}},"required":["quotes"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/finance/history":{"post":{"operationId":"financeHistory","summary":"finance.history","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"symbol":{"type":"string","pattern":"^[\\w.^=-]{1,20}$"},"within":{"type":"string","enum":["day","fiveDays","month","threeMonths","sixMonths","year","twoYears","fiveYears","tenYears","yearToDate","all"]},"from":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"to":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"interval":{"default":"day","type":"string","enum":["minute","twoMinutes","fiveMinutes","fifteenMinutes","thirtyMinutes","hour","ninetyMinutes","day","fiveDays","week","month","threeMonths"]},"includeExtendedHours":{"default":false,"type":"boolean"}},"required":["symbol"],"additionalProperties":false},"example":{"symbol":"AAPL","within":"month"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"history":{"type":"object","additionalProperties":false,"properties":{"symbol":{"type":"string"},"currency":{"type":"string"},"timezone":{"type":"string"},"interval":{"type":"string"},"candles":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"openedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"open":{"type":"number"},"high":{"type":"number"},"low":{"type":"number"},"close":{"type":"number"},"adjustedClose":{"type":"number"},"volume":{"type":"number"}},"required":["openedAt"]}},"dividends":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"date":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"amount":{"type":"number"}},"required":["date","amount"]}},"splits":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"date":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"ratio":{"type":"string"}},"required":["date"]}}},"required":[]}},"required":[]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/finance/search":{"post":{"operationId":"financeSearch","summary":"finance.search","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":100},"quotesLimit":{"default":10,"type":"integer","minimum":0,"maximum":20},"newsLimit":{"default":5,"type":"integer","minimum":0,"maximum":20}},"required":["query"],"additionalProperties":false},"example":{"query":"tesla"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"quotes":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"symbol":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"exchange":{"type":"string"},"sector":{"type":"string"},"industry":{"type":"string"}},"required":[]}},"news":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"title":{"type":"string"},"url":{"type":"string","format":"uri"},"publisher":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"}},"required":[]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"tickers":{"type":"array","items":{"type":"string"}}},"required":["url"]}}},"required":["quotes","news"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/finance/profile":{"post":{"operationId":"financeProfile","summary":"finance.profile","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"symbol":{"type":"string","pattern":"^[\\w.^=-]{1,20}$"}},"required":["symbol"],"additionalProperties":false},"example":{"symbol":"AAPL"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"profile":{"type":"object","additionalProperties":false,"properties":{"symbol":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"exchange":{"type":"string"},"currency":{"type":"string"},"sector":{"type":"string"},"industry":{"type":"string"},"employees":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"website":{"type":"string","format":"uri"},"summary":{"type":"string"},"address":{"type":"object","additionalProperties":false,"properties":{"full":{"type":"string"},"street":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postalCode":{"type":"string"},"country":{"type":"string"}},"required":[]},"phone":{"type":"string"},"officers":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"title":{"type":"string"},"age":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"totalPay":{"type":"number"}},"required":[]}},"recommendation":{"type":"string"},"stats":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}}},"required":[]}},"required":[]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/microsoft/ads/search":{"post":{"operationId":"microsoftAdsSearch","summary":"microsoft.ads.search","description":"Costs 1 credit. Pages with cursor.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":200},"advertiser":{"type":"string","pattern":"^\\d{1,20}$"},"countries":{"minItems":1,"maxItems":30,"type":"array","items":{"type":"string","pattern":"^[A-Za-z]{2}$","description":"ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted."}},"from":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"to":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"limit":{"default":24,"type":"integer","minimum":1,"maximum":24},"cursor":{"type":"string","pattern":"^\\d{1,3}$"}},"additionalProperties":false},"example":{"query":"shoes","limit":24}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"ads":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"advertiser":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":[]},"headline":{"type":"string"},"text":{"type":"string"},"link":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"}},"required":[]},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}}},"required":[]}},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"cursor":{"type":"string"}},"required":["ads"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/microsoft/ads/ad":{"post":{"operationId":"microsoftAdsAd","summary":"microsoft.ads.ad","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"ad":{"type":"string","pattern":"^\\d{1,20}$"}},"required":["ad"],"additionalProperties":false}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"ad":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"advertiser":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":[]},"headline":{"type":"string"},"text":{"type":"string"},"link":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"}},"required":[]},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"paidBy":{"type":"string"},"firstShownAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"lastShownAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"impressions":{"type":"object","additionalProperties":false,"properties":{"min":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"max":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":[]},"countries":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"country":{"type":"string"},"share":{"type":"number"}},"required":[]}},"targeting":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string"},"isExcluded":{"type":"boolean"}},"required":["isExcluded"]}}},"required":[]}},"required":[]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/microsoft/ads/advertisers":{"post":{"operationId":"microsoftAdsAdvertisers","summary":"microsoft.ads.advertisers","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":200},"limit":{"default":10,"type":"integer","minimum":1,"maximum":24}},"required":["query"],"additionalProperties":false},"example":{"query":"nike"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"advertisers":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"},"country":{"type":"string"},"isVerified":{"type":"boolean"}},"required":["isVerified"]}},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["advertisers"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/snapchat/profile":{"post":{"operationId":"snapchatProfile","summary":"snapchat.profile","description":"Costs 2 credits.","x-credits":2,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"user":{"type":"string"}},"required":["user"],"additionalProperties":false},"example":{"user":"khaby.lame"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"profile":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"url":{"type":"string","format":"uri"},"name":{"type":"string"},"bio":{"type":"string"},"website":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"banner":{"type":"string","format":"uri"},"subscribers":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"category":{"type":"string"},"subcategory":{"type":"string"},"isVerified":{"type":"boolean"},"isBusiness":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"related":{"type":"array","items":{"type":"string"}}},"required":["url","isVerified","isBusiness"]},"spotlights":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"video":{"type":"string","format":"uri"},"thumbnail":{"type":"string","format":"uri"},"views":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"shares":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"durationSeconds":{"type":"number"},"width":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"height":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"hashtags":{"type":"array","items":{"type":"string"}}},"required":["url"]}},"stories":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"type":{"type":"string","enum":["image","video"]},"url":{"type":"string","format":"uri"},"thumbnail":{"type":"string","format":"uri"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["type"]}}},"required":["profile","spotlights","stories"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/snapchat/ads/search":{"post":{"operationId":"snapchatAdsSearch","summary":"snapchat.ads.search","description":"Costs 1 credit per 10 items. Pages with cursor.","x-credits":1,"x-per-items":10,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"advertiser":{"type":"string","minLength":1,"maxLength":200},"countries":{"minItems":1,"maxItems":27,"type":"array","items":{"type":"string"}},"status":{"type":"string","enum":["active","paused"]},"from":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"to":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"limit":{"default":10,"type":"integer","minimum":1,"maximum":200},"cursor":{"type":"string","pattern":"^\\d{1,7}$"}},"required":["advertiser"],"additionalProperties":false},"example":{"advertiser":"Nike"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"ads":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"},"paidBy":{"type":"string"},"brand":{"type":"string"},"profile":{"type":"string"},"account":{"type":"string"},"status":{"type":"string"},"type":{"type":"string"},"creativeType":{"type":"string"},"headline":{"type":"string"},"cta":{"type":"object","additionalProperties":false,"properties":{"text":{"type":"string"},"type":{"type":"string"}},"required":[]},"languages":{"type":"array","items":{"type":"string"}},"media":{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":[]},"link":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"caption":{"type":"string"}},"required":[]},"firstShownAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"lastShownAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"impressions":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"countries":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"country":{"type":"string"},"impressions":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["impressions"]}},"targeting":{"type":"object","additionalProperties":false,"properties":{"ageRanges":{"type":"array","items":{"type":"string"}},"hasRegulatedContent":{"type":"boolean"}},"required":["hasRegulatedContent"]}},"required":["targeting"]}},"cursor":{"type":"string"}},"required":["ads"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/snapchat/ads/ad":{"post":{"operationId":"snapchatAdsAd","summary":"snapchat.ads.ad","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"ad":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["ad"],"additionalProperties":false}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"ad":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"},"paidBy":{"type":"string"},"brand":{"type":"string"},"profile":{"type":"string"},"account":{"type":"string"},"status":{"type":"string"},"type":{"type":"string"},"creativeType":{"type":"string"},"headline":{"type":"string"},"cta":{"type":"object","additionalProperties":false,"properties":{"text":{"type":"string"},"type":{"type":"string"}},"required":[]},"languages":{"type":"array","items":{"type":"string"}},"media":{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":[]},"link":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"caption":{"type":"string"}},"required":[]},"firstShownAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"lastShownAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"impressions":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"countries":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"country":{"type":"string"},"impressions":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["impressions"]}},"targeting":{"type":"object","additionalProperties":false,"properties":{"ageRanges":{"type":"array","items":{"type":"string"}},"hasRegulatedContent":{"type":"boolean"}},"required":["hasRegulatedContent"]}},"required":["targeting"]}},"required":["ad"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/tumblr/blog":{"post":{"operationId":"tumblrBlog","summary":"tumblr.blog","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"blog":{"type":"string"}},"required":["blog"],"additionalProperties":false},"example":{"blog":"staff"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"blog":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"url":{"type":"string","format":"uri"},"name":{"type":"string"},"description":{"type":"string"},"avatar":{"type":"string","format":"uri"},"posts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"isNsfw":{"type":"boolean"}},"required":["url","isNsfw"]}},"required":["blog"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/tumblr/posts":{"post":{"operationId":"tumblrPosts","summary":"tumblr.posts","description":"Costs 1 credit per 10 items. Pages with cursor.","x-credits":1,"x-per-items":10,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"blog":{"type":"string"},"tag":{"type":"string","minLength":1,"maxLength":100},"type":{"type":"string","enum":["text","photo","quote","link","chat","audio","video","answer"]},"limit":{"default":20,"type":"integer","minimum":1,"maximum":200},"cursor":{"type":"string","pattern":"^(?:\\d{1,4}~(?:\\d{1,7})?|(?:\\d{1,7}))$"}},"required":["blog"],"additionalProperties":false},"example":{"blog":"staff","limit":20}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"blog":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"url":{"type":"string","format":"uri"},"name":{"type":"string"},"description":{"type":"string"},"avatar":{"type":"string","format":"uri"},"posts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"isNsfw":{"type":"boolean"}},"required":["url","isNsfw"]},"posts":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"type":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"summary":{"type":"string"},"text":{"type":"string"},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"videos":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"}},"required":["url"]}},"links":{"type":"array","items":{"type":"string","format":"uri"}},"tags":{"type":"array","items":{"type":"string"}},"notes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reposts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"replies":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"repostOf":{"type":"object","additionalProperties":false,"properties":{"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]}},"required":[]},"repostedFrom":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"isNsfw":{"type":"boolean"}},"required":["url","isNsfw"]}},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"cursor":{"type":"string"}},"required":["blog","posts"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/tumblr/post":{"post":{"operationId":"tumblrPost","summary":"tumblr.post","description":"Costs 1 credit.","x-credits":1,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"post":{"type":"string"}},"required":["post"],"additionalProperties":false}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"post":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"type":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"summary":{"type":"string"},"text":{"type":"string"},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"videos":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"}},"required":["url"]}},"links":{"type":"array","items":{"type":"string","format":"uri"}},"tags":{"type":"array","items":{"type":"string"}},"notes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reposts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"replies":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"repostOf":{"type":"object","additionalProperties":false,"properties":{"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]}},"required":[]},"repostedFrom":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"isNsfw":{"type":"boolean"}},"required":["url","isNsfw"]},"blog":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"url":{"type":"string","format":"uri"},"name":{"type":"string"},"description":{"type":"string"},"avatar":{"type":"string","format":"uri"},"posts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"isNsfw":{"type":"boolean"}},"required":["url","isNsfw"]}},"required":["post","blog"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/tumblr/search":{"post":{"operationId":"tumblrSearch","summary":"tumblr.search","description":"Costs 1 credit per 10 items. Pages with cursor.","x-credits":1,"x-per-items":10,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":200},"sort":{"default":"top","type":"string","enum":["top","newest"]},"limit":{"default":20,"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","pattern":"^(?:\\d{1,4}~(?:[\\w.=-]{4,200})?|(?:[\\w.=-]{4,200}))$"}},"required":["query"],"additionalProperties":false},"example":{"query":"photography"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"posts":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"type":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"summary":{"type":"string"},"text":{"type":"string"},"images":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"},"caption":{"type":"string"},"alt":{"type":"string"}},"required":["url"]}},"videos":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri"}},"required":["url"]}},"links":{"type":"array","items":{"type":"string","format":"uri"}},"tags":{"type":"array","items":{"type":"string"}},"notes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reposts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"replies":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"repostOf":{"type":"object","additionalProperties":false,"properties":{"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]}},"required":[]},"repostedFrom":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"}},"required":[]},"isNsfw":{"type":"boolean"}},"required":["url","isNsfw"]}},"cursor":{"type":"string"}},"required":["posts"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v1/quora/question":{"post":{"operationId":"quoraQuestion","summary":"quora.question","description":"Costs 2 credits.","x-credits":2,"x-per-items":null,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"question":{"type":"string"}},"required":["question"],"additionalProperties":false},"example":{"question":"https://www.quora.com/What-is-the-best-way-to-learn-programming"}}}},"responses":{"200":{"description":"The data, and the credits this call used.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"x-credits-used":{"$ref":"#/components/headers/CreditsUsed"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"}},"content":{"application/json":{"schema":{"type":"object","required":["success","data","creditsUsed","requestId"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"properties":{"question":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"title":{"type":"string"},"answers":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"topics":{"type":"array","items":{"type":"string"}}},"required":["url"]},"answers":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"text":{"type":"string"},"author":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"avatar":{"type":"string","format":"uri"},"isVerified":{"type":"boolean"},"credential":{"type":"string"}},"required":[]},"likes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"views":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"shares":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"comments":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":[]}}},"required":["question","answers"]},"creditsUsed":{"type":"integer"},"requestId":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}}}}