{"openapi":"3.1.0","info":{"title":"Tease API","version":"1"},"tags":[{"name":"Price history"}],"servers":[{"url":"https://app.tease.club"}],"components":{"schemas":{"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"}}},"paths":{"/v1/accounts/{account_id}/price-history":{"get":{"summary":"Read subscription price history","description":"OnlyFans only: by month, the subscription periods fans started and the price they started at.\n\nOne row a month, oldest first: `periods` started (subscribe, return, prolong), `paid_periods` at a\nprice and `free_periods` at zero, `price_cents` the most common price of the paid ones and\n`regular_price_cents` the regular price most of the month's periods started under (0: most started on a free\npage or with no regular price from OnlyFans; a few prolongs of older subscriptions keep their old price and do\nnot count). A page that went free shows paid_periods and regular_price_cents falling to 0; `sub_price_cents`\nof /fans stays the price of each fan's current period.\nFansly keeps its prices as plans: GET /v1/accounts/{id}/subscription-tiers.","operationId":"get_price_history_v1_accounts__account_id__price_history_get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"title":"Account Id"}}],"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","tags":["Price history"]}}}}
