{"openapi":"3.1.0","info":{"title":"Tease API","version":"1"},"tags":[{"name":"Socials"}],"servers":[{"url":"https://app.tease.club"}],"components":{"schemas":{"PublicReadBody":{"properties":{"parameters":{"additionalProperties":{"type":"string"},"type":"object","maxProperties":12,"title":"Parameters"},"fresh":{"type":"boolean","title":"Fresh","default":false}},"additionalProperties":false,"type":"object","title":"PublicReadBody"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"ComparisonBody":{"properties":{"account_ids":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Account Ids"},"public_targets":{"items":{"$ref":"#/components/schemas/ComparisonTarget"},"type":"array","maxItems":10,"title":"Public Targets"}},"additionalProperties":false,"type":"object","title":"ComparisonBody"},"ComparisonTarget":{"properties":{"platform":{"type":"string","maxLength":32,"minLength":1,"title":"Platform"},"username":{"type":"string","maxLength":64,"minLength":1,"title":"Username"}},"additionalProperties":false,"type":"object","required":["platform","username"],"title":"ComparisonTarget"}}},"paths":{"/v1/socials/public/operations":{"get":{"summary":"Public Operations","description":"Every public read of every social platform: parameters, max age of a shared answer, price.","operationId":"public_operations_v1_socials_public_operations_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"x-api-key-scope":"read","tags":["Socials"]}},"/v1/socials/public/{platform}/{operation}":{"post":{"summary":"Read a public social profile","description":"Instagram, TikTok, X, Threads and Reddit public profile, posts, search and trend reads. Refused on the trial (403 public_reads_not_in_plan): Tease Club and Tease Pro have them.","operationId":"public_operation_v1_socials_public__platform___operation__post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","maxLength":32,"title":"Platform"}},{"name":"operation","in":"path","required":true,"schema":{"type":"string","maxLength":64,"title":"Operation"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicReadBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-api-key-scope":"read","x-platforms":["instagram","reddit","snapchat","threads","tiktok","x"],"tags":["Socials"]}},"/v1/socials/compare":{"post":{"summary":"Compare social accounts","description":"Compare own accounts and public usernames: followers, recent posts and engagement. Each public username pays its profile and posts reads; they are refused on the trial (403 public_reads_not_in_plan); comparing own accounts stays free.","operationId":"compare_v1_socials_compare_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-api-key-scope":"read","x-platforms":["instagram","reddit","snapchat","threads","tiktok","x"],"tags":["Socials"]}}}}
