{
"error_code": "unauthorized",
"name": "Your request was made with invalid credentials.",
"message": "Your request was made with invalid credentials.",
"code": 0,
"status": 401,
"type": "unauthorized_http_exception"
}
{
"error_code": "unauthorized",
"name": "Your request was made with invalid credentials.",
"message": "Your request was made with invalid credentials.",
"code": 0,
"status": 401,
"type": "unauthorized_http_exception"
}
Pricing
Use POST /purchases/quote to get the final order total. To calculate it yourself, use the tariff’s pricing object and the rules below.Prices are in pricing.currency, before discounts, for one hour (hourly: true) or one tariff period (hourly: false).
Type
Subtotal calculation
standard
Unit prices with separate quantity discounts for each range
fixed
Price of a fixed-quantity package
graduated
One price for the entire selected quantity, determined by its tier
discount is the effective percentage for your account and this tariff, including promotions. Use the returned value as-is. Quantity discounts are separate. Do not apply /me.discount again.For all three types, calculate the subtotal as described below, then:
Use duration = 1 when hourly: false. In the request, omit duration or send 1. For hourly tariffs, use the requested number of hours; omitting duration also defaults to 1.Round only the final total. Paid orders have a minimum total of 0.01.
Standard
price_per_unit is the base price of one unit. quantity_discounts maps each range’s first unit to a discount percentage. A range ends just before the next threshold; earlier units keep their discount. The returned schedule reflects your account’s terms. An empty object {} means no quantity discount.
The first 99 units cost 1 USD each; from the 100th unit onward, each costs 0.90 USD. The discount does not reprice earlier units.For 150 units, the subtotal is: 99 × 1 + 51 × 1 × 0.90 = 144.90 USD. With no quantity discounts, the subtotal is simply quantity × price_per_unit.
Fixed
price covers the whole package. The tariff’s count is fixed, so do not multiply by quantity. Quantity discounts do not apply.
With duration = 1, the total is 90 USD. For an hourly package, multiply by the requested hours before applying the discount.
Graduated
graduated_prices maps quantity thresholds to prices for the entire selected quantity. Choose the highest threshold that does not exceed quantity. If the quantity is below every threshold, use the first tier. Do not add tier prices or multiply by quantity. Quantity discounts do not apply.
For 150 units, the subtotal is 150. With duration = 2 and discount = 10, the total is 270 USD.
Legacy fields
Top-level price, pricing_type, graduated_prices and discounts remain for compatibility. Use pricing for new integrations.Unlike the prices inside pricing, top-level price and graduated_prices already include discounts and rounding. price covers the default quantity with duration = 1. The old pricing_type reports standard for both standard and fixed tariffs.
Authorizations
Authorization
string
header
required
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Accept-Language
enum<string>
default:en
The language of the response
Available options:
en,
ru
Query Parameters
expand
enum<string>
Additional data to include in the response
Available options:
panel
Example:
"panel"
Response
OK
id
integer
The ID of the tarif
Example:
1
title
string
The title of the tarif (localized)
Example:
"Viewers"
text
string[]
Description lines (localized)
Example:
["Up to 1000 viewers"]
count
integerobject
Quantity info. For custom_count tariffs returns {min, max}, otherwise a single integer.
Example:
{ "min": 100, "max": 1000 }
price
number
deprecated
Legacy price for the default quantity and duration = 1, with discounts and rounding applied. Use pricing for base prices or POST /purchases/quote for an order total.
Example:
89.91
type
string
The group_id of the tarif
Example:
"viewers"
hourly
boolean
Whether the tarif supports hourly duration selection
Example:
true
pricing_type
enum<string>
deprecated
Legacy pricing type. Both standard and fixed packages report standard. Use pricing.type for the three pricing types.
Available options:
standard,
graduated
Example:
"standard"
graduated_prices
object | null
deprecated
Legacy tier prices with discounts and rounding applied; null for other pricing types. Use pricing.graduated_prices for prices before discounts.
Show child attributes
Example:
null
discounts
object
deprecated
Legacy quantity discount schedule. For standard tariffs, use pricing.quantity_discounts. Each threshold starts a range ending just before the next threshold; earlier units keep their discounts.
Show child attributes
Example:
{ "1": 0, "100": 10 }
link
object
Show child attributes
panel
boolean
Whether the tarif supports panel
Example:
true
pricing
Standard · object
Base prices and applicable discounts for your account. Prices are per hour when hourly is true, otherwise per tariff period. Calculate the subtotal for the selected type, multiply by duration and (1 - discount / 100), then round to two decimal places. Use duration = 1 when hourly is false. Paid orders have a minimum total of 0.01. Use POST /purchases/quote for the payable total.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"StreamSkill API","colors":{"primary":"#4B367C","light":"#B6A4E0","dark":"#2A2A2A"},"logo":{"light":"https://mintcdn.com/streamskill/oxTKykKOOcnrUxeN/logo/light.svg?fit=max\u0026auto=format\u0026n=oxTKykKOOcnrUxeN\u0026q=85\u0026s=e950e0acfaa5d6f6cf02f264463558ae","dark":"https://mintcdn.com/streamskill/oxTKykKOOcnrUxeN/logo/dark.svg?fit=max\u0026auto=format\u0026n=oxTKykKOOcnrUxeN\u0026q=85\u0026s=55cf31ea3f37fb22278823b31d60dc17"},"favicon":"https://mintcdn.com/streamskill/oxTKykKOOcnrUxeN/favicon.svg?fit=max\u0026auto=format\u0026n=oxTKykKOOcnrUxeN\u0026q=85\u0026s=cb3d4ca3ecfb5612980f7a041855f492","api":{"openapi":"api-reference/openapi.json","mdx":{"auth":{"method":"bearer"}}},"appearance":{"default":"dark"},"navbar":{"links":[{"href":"https://t.me/StreamSkill","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://streamskill.pro/en/cabinet"}},"footer":{"socials":{"website":"https://streamskill.pro/en"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"streamskill","hasAudioNarration":false,"actualSubdomain":"streamskill","customDomains":["api-docs.streamskill.pro"],"gitSource":{"type":"github","owner":"streamskill-pro","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"edits":true,"issues":true},"entitlements":{},"buildId":"6afa037ff47e66462e375794","clientVersion":"0.0.4167","searchFilterCounts":[{"language":"default","tag":"Purchases","count":21},{"language":"default","tag":"Actions","count":15},{"language":"default","tag":"API Documentation","count":5},{"language":"default","tag":"Services","count":2},{"language":"default","tag":"Tariffs","count":2},{"language":"default","tag":"Basic","count":1},{"language":"default","tag":"Get Started","count":1}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/endpoints/tariffs/all","slug":"/api-reference/endpoints/tariffs/all","pageMetadata":{"title":"Get all","openapi":"GET /tarifs","description":null,"href":"/api-reference/endpoints/tariffs/all"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`pricing`,children:`Pricing`}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.a,{href:`/api-reference/endpoints/purchases/quote`,children:`POST /purchases/quote`}),` to get the final order total. To calculate it yourself, use the tariff’s `,_jsx(_components.code,{children:`pricing`}),` object and the rules below.`]}),`\n`,_jsxs(_components.p,{children:[`Prices are in `,_jsx(_components.code,{children:`pricing.currency`}),`, before discounts, for one hour (`,_jsx(_components.code,{children:`hourly: true`}),`) or one tariff period (`,_jsx(_components.code,{children:`hourly: false`}),`).`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Subtotal calculation`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`standard`})}),_jsx(_components.td,{children:`Unit prices with separate quantity discounts for each range`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`fixed`})}),_jsx(_components.td,{children:`Price of a fixed-quantity package`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`graduated`})}),_jsx(_components.td,{children:`One price for the entire selected quantity, determined by its tier`})]})]})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`discount`}),` is the effective percentage for your account and this tariff, including promotions. Use the returned value as-is. Quantity discounts are separate. Do not apply `,_jsx(_components.code,{children:`/me.discount`}),` again.`]}),`\n`,_jsx(_components.p,{children:`For all three types, calculate the subtotal as described below, then:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`total = round(subtotal × duration × (1 - discount / 100), 2)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[`Use `,_jsx(_components.code,{children:`duration = 1`}),` when `,_jsx(_components.code,{children:`hourly: false`}),`.`]}),` In the request, omit `,_jsx(_components.code,{children:`duration`}),` or send `,_jsx(_components.code,{children:`1`}),`. For hourly tariffs, use the requested number of hours; omitting `,_jsx(_components.code,{children:`duration`}),` also defaults to `,_jsx(_components.code,{children:`1`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Round only the final total. Paid orders have a minimum total of `,_jsx(_components.code,{children:`0.01`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`standard`,children:`Standard`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`price_per_unit`}),` is the base price of one unit. `,_jsx(_components.code,{children:`quantity_discounts`}),` maps each range’s first unit to a discount percentage. A range ends just before the next threshold; earlier units keep their discount. The returned schedule reflects your account’s terms. An empty object `,_jsx(_components.code,{children:`{}`}),` means no quantity discount.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"standard\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"currency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"usd\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"price_per_unit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"quantity_discounts\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"100\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"discount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`subtotal = sum(units_in_range × price_per_unit × (1 - range_discount / 100))`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`The first 99 units cost `,_jsx(_components.strong,{children:`1 USD each`}),`; from the 100th unit onward, each costs `,_jsx(_components.strong,{children:`0.90 USD`}),`. The discount does not reprice earlier units.`]}),`\n`,_jsxs(_components.p,{children:[`For 150 units, the subtotal is: `,_jsx(_components.code,{children:`99 × 1 + 51 × 1 × 0.90 = 144.90 USD`}),`. With no quantity discounts, the subtotal is simply `,_jsx(_components.code,{children:`quantity × price_per_unit`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`fixed`,children:`Fixed`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`price`}),` covers the whole package. The tariff’s `,_jsx(_components.code,{children:`count`}),` is fixed, so do not multiply by quantity. Quantity discounts do not apply.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"fixed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"currency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"usd\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"price\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`100`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"discount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`subtotal = price`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`With `,_jsx(_components.code,{children:`duration = 1`}),`, the total is `,_jsx(_components.strong,{children:`90 USD`}),`. For an hourly package, multiply by the requested hours before applying the discount.`]}),`\n`,_jsx(Heading,{level:`3`,id:`graduated`,children:`Graduated`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`graduated_prices`}),` maps quantity thresholds to prices for the entire selected quantity. Choose the highest threshold that does not exceed `,_jsx(_components.code,{children:`quantity`}),`. If the quantity is below every threshold, use the first tier. Do not add tier prices or multiply by quantity. Quantity discounts do not apply.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"graduated\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"currency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"usd\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"graduated_prices\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`100`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"101\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`150`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"201\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`200`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"discount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`subtotal = selected_tier_price`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`For 150 units, the subtotal is `,_jsx(_components.code,{children:`150`}),`. With `,_jsx(_components.code,{children:`duration = 2`}),` and `,_jsx(_components.code,{children:`discount = 10`}),`, the total is `,_jsx(_components.strong,{children:`270 USD`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`legacy-fields`,children:`Legacy fields`}),`\n`,_jsxs(_components.p,{children:[`Top-level `,_jsx(_components.code,{children:`price`}),`, `,_jsx(_components.code,{children:`pricing_type`}),`, `,_jsx(_components.code,{children:`graduated_prices`}),` and `,_jsx(_components.code,{children:`discounts`}),` remain for compatibility. Use `,_jsx(_components.code,{children:`pricing`}),` for new integrations.`]}),`\n`,_jsxs(_components.p,{children:[`Unlike the prices inside `,_jsx(_components.code,{children:`pricing`}),`, top-level `,_jsx(_components.code,{children:`price`}),` and `,_jsx(_components.code,{children:`graduated_prices`}),` already include discounts and rounding. `,_jsx(_components.code,{children:`price`}),` covers the default quantity with `,_jsx(_components.code,{children:`duration = 1`}),`. The old `,_jsx(_components.code,{children:`pricing_type`}),` reports `,_jsx(_components.code,{children:`standard`}),` for both standard and fixed tariffs.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get all","openapi":"GET /tarifs","description":null,"href":"/api-reference/endpoints/tariffs/all"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Pricing","slug":"pricing","depth":2,"children":[{"title":"Standard","slug":"standard","depth":3,"children":[]},{"title":"Fixed","slug":"fixed","depth":3,"children":[]},{"title":"Graduated","slug":"graduated","depth":3,"children":[]},{"title":"Legacy fields","slug":"legacy-fields","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Get all","responses":{"200":"f3e04c84-a50b-46a4-8911-8b62f5639fa9","401":"83a802a3-03b8-4fb4-8cce-9e31734d7229"},"method":"get","type":"path","servers":["3fcf4a7e-8f81-4a36-8bf8-301b84c5e660"],"security":["a65b174e-f4ce-4c94-8a59-744f8f6238a0"],"path":"/tarifs","baseUrlOptions":["https://api.streamskill.pro/v1"],"title":"Get all","description":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"fadde24b-4ab3-4411-9f99-54ffa4467417":{"name":"Accept-Language","in":"header","required":false,"description":"The language of the response","schema":{"type":"string","enum":["en","ru"],"default":"en","isRequired":false,"description":"The language of the response","uniqueKey":"","typeLabel":"enum\u003cstring>"}},"b5779408-81d6-4c7f-926f-597619bfb763":{"name":"expand","in":"query","required":false,"description":"Additional data to include in the response","schema":{"type":"string","enum":["panel"],"example":"panel","isRequired":false,"description":"Additional data to include in the response","uniqueKey":"","typeLabel":"enum\u003cstring>"}}},"responses":{"f3e04c84-a50b-46a4-8911-8b62f5639fa9":{"description":"OK","headers":{"Date":{"schema":{"type":"string","example":"Sat, 25 May 2024 23:59:59 GMT"}},"Server":{"schema":{"type":"string","example":"Apache/2.4.38 (Debian)"}},"Content-Length":{"schema":{"type":"integer","example":"100"}},"Keep-Alive":{"schema":{"type":"string","example":"timeout=5, max=100"}},"Connection":{"schema":{"type":"string","example":"Keep-Alive"}},"Content-Type":{"schema":{"type":"string"},"example":"application/json; charset=UTF-8"}},"content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","description":"The ID of the tarif","example":1,"uniqueKey":"items.[INDEX].id","typeLabel":"integer"},"title":{"type":"string","description":"The title of the tarif (localized)","example":"Viewers","uniqueKey":"items.[INDEX].title","typeLabel":"string"},"text":{"type":"array","description":"Description lines (localized)","items":{"type":"string","uniqueKey":"items.[INDEX].text.items.[INDEX]","typeLabel":"string"},"example":["Up to 1000 viewers"],"uniqueKey":"items.[INDEX].text","typeLabel":"string[]"},"count":{"oneOf":[{"type":"integer","description":"Quantity info. For custom_count tariffs returns {min, max}, otherwise a single integer.","example":{"min":100,"max":1000},"uniqueKey":"items.[INDEX].count.oneOf.0","typeLabel":"integer"},{"type":"object","description":"Quantity info. For custom_count tariffs returns {min, max}, otherwise a single integer.","example":{"min":100,"max":1000},"properties":{"min":{"type":"integer","example":100,"uniqueKey":"items.[INDEX].count.oneOf.1.min","typeLabel":"integer"},"max":{"type":"integer","example":1000,"uniqueKey":"items.[INDEX].count.oneOf.1.max","typeLabel":"integer"}},"uniqueKey":"items.[INDEX].count.oneOf.1","typeLabel":"object"}],"uniqueKey":"items.[INDEX].count","typeLabel":"integer | object"},"price":{"type":"number","deprecated":true,"description":"Legacy price for the default quantity and duration = 1, with discounts and rounding applied. Use pricing for base prices or POST /purchases/quote for an order total.","example":89.91,"uniqueKey":"items.[INDEX].price","typeLabel":"number"},"type":{"type":"string","description":"The group_id of the tarif","example":"viewers","uniqueKey":"items.[INDEX].type","typeLabel":"string"},"hourly":{"type":"boolean","description":"Whether the tarif supports hourly duration selection","example":true,"uniqueKey":"items.[INDEX].hourly","typeLabel":"boolean"},"pricing_type":{"type":"string","enum":["standard","graduated"],"deprecated":true,"description":"Legacy pricing type. Both standard and fixed packages report standard. Use pricing.type for the three pricing types.","example":"standard","uniqueKey":"items.[INDEX].pricing_type","typeLabel":"enum\u003cstring>"},"graduated_prices":{"oneOf":[{"type":"object","description":"Legacy tier prices with discounts and rounding applied; null for other pricing types. Use pricing.graduated_prices for prices before discounts.","deprecated":true,"example":null,"additionalProperties":{"type":"number","uniqueKey":"items.[INDEX].graduated_prices.oneOf.0.additionalProperties","typeLabel":"number"},"uniqueKey":"items.[INDEX].graduated_prices.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"items.[INDEX].graduated_prices.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].graduated_prices","typeLabel":"object | null"},"discounts":{"type":"object","deprecated":true,"description":"Legacy quantity discount schedule. For standard tariffs, use pricing.quantity_discounts. Each threshold starts a range ending just before the next threshold; earlier units keep their discounts.","additionalProperties":{"type":"integer","uniqueKey":"items.[INDEX].discounts.additionalProperties","typeLabel":"integer"},"example":{"1":0,"100":10},"uniqueKey":"items.[INDEX].discounts","typeLabel":"object"},"link":{"type":"object","properties":{"prefix":{"type":"string","description":"Channel URL prefix","example":"https://www.twitch.tv/","uniqueKey":"items.[INDEX].link.prefix","typeLabel":"string"},"placeholder":{"type":"string","description":"Channel input placeholder","example":"twitch","uniqueKey":"items.[INDEX].link.placeholder","typeLabel":"string"}},"uniqueKey":"items.[INDEX].link","typeLabel":"object"},"panel":{"type":"boolean","description":"Whether the tarif supports panel","example":true,"uniqueKey":"items.[INDEX].panel","typeLabel":"boolean"},"pricing":{"oneOf":[{"type":"object","title":"Standard","description":"Base prices and applicable discounts for your account. Prices are per hour when hourly is true, otherwise per tariff period. Calculate the subtotal for the selected type, multiply by duration and (1 - discount / 100), then round to two decimal places. Use duration = 1 when hourly is false. Paid orders have a minimum total of 0.01. Use POST /purchases/quote for the payable total.","required":["type","currency","price_per_unit","quantity_discounts","discount"],"example":{"type":"standard","currency":"usd","price_per_unit":1,"quantity_discounts":{"1":0,"100":10},"discount":10},"properties":{"type":{"type":"string","enum":["standard"],"isRequired":true,"uniqueKey":"items.[INDEX].pricing.oneOf.0.type","typeLabel":"enum\u003cstring>"},"currency":{"type":"string","enum":["usd","rub"],"example":"usd","isRequired":true,"uniqueKey":"items.[INDEX].pricing.oneOf.0.currency","typeLabel":"enum\u003cstring>"},"price_per_unit":{"type":"number","description":"Price of one unit before quantity and account discounts.","isRequired":true,"uniqueKey":"items.[INDEX].pricing.oneOf.0.price_per_unit","typeLabel":"number"},"quantity_discounts":{"type":"object","description":"Quantity discount percentages for your account. Each threshold is the first unit in a range ending just before the next threshold. Sum each range's units × price_per_unit × (1 - range_discount / 100) to get the subtotal. An empty object means no quantity discount.","additionalProperties":{"type":"integer","uniqueKey":"items.[INDEX].pricing.oneOf.0.quantity_discounts.additionalProperties","typeLabel":"integer"},"isRequired":true,"uniqueKey":"items.[INDEX].pricing.oneOf.0.quantity_discounts","typeLabel":"object"},"discount":{"type":"integer","description":"Effective discount percentage for your account and this tariff, including promotions. Use the returned value as-is. Excludes quantity discounts. Apply once; do not add /me.discount.","minimum":0,"maximum":90,"isRequired":true,"uniqueKey":"items.[INDEX].pricing.oneOf.0.discount","typeLabel":"integer"}},"uniqueKey":"items.[INDEX].pricing.oneOf.0","typeLabel":"Standard · object"},{"type":"object","title":"Fixed","description":"Base prices and applicable discounts for your account. Prices are per hour when hourly is true, otherwise per tariff period. Calculate the subtotal for the selected type, multiply by duration and (1 - discount / 100), then round to two decimal places. Use duration = 1 when hourly is false. Paid orders have a minimum total of 0.01. Use POST /purchases/quote for the payable total.","required":["type","currency","price","discount"],"example":{"type":"fixed","currency":"usd","price":100,"discount":10},"properties":{"type":{"type":"string","enum":["fixed"],"isRequired":true,"uniqueKey":"items.[INDEX].pricing.oneOf.1.type","typeLabel":"enum\u003cstring>"},"currency":{"type":"string","enum":["usd","rub"],"example":"usd","isRequired":true,"uniqueKey":"items.[INDEX].pricing.oneOf.1.currency","typeLabel":"enum\u003cstring>"},"price":{"type":"number","description":"Price of the whole fixed-quantity package before discount. This is the subtotal; do not multiply by quantity. Quantity discounts do not apply.","isRequired":true,"uniqueKey":"items.[INDEX].pricing.oneOf.1.price","typeLabel":"number"},"discount":{"type":"integer","description":"Effective discount percentage for your account and this tariff, including promotions. Use the returned value as-is. Excludes quantity discounts. Apply once; do not add /me.discount.","minimum":0,"maximum":90,"isRequired":true,"uniqueKey":"items.[INDEX].pricing.oneOf.1.discount","typeLabel":"integer"}},"uniqueKey":"items.[INDEX].pricing.oneOf.1","typeLabel":"Fixed · object"},{"type":"object","title":"Graduated","description":"Base prices and applicable discounts for your account. Prices are per hour when hourly is true, otherwise per tariff period. Calculate the subtotal for the selected type, multiply by duration and (1 - discount / 100), then round to two decimal places. Use duration = 1 when hourly is false. Paid orders have a minimum total of 0.01. Use POST /purchases/quote for the payable total.","required":["type","currency","graduated_prices","discount"],"example":{"type":"graduated","currency":"usd","graduated_prices":{"0":100,"101":150,"201":200},"discount":10},"properties":{"type":{"type":"string","enum":["graduated"],"isRequired":true,"uniqueKey":"items.[INDEX].pricing.oneOf.2.type","typeLabel":"enum\u003cstring>"},"currency":{"type":"string","enum":["usd","rub"],"example":"usd","isRequired":true,"uniqueKey":"items.[INDEX].pricing.oneOf.2.currency","typeLabel":"enum\u003cstring>"},"graduated_prices":{"type":"object","description":"Base prices for selectable quantity tiers, before discount. Keys are quantity thresholds. The subtotal is the price at the highest threshold not exceeding the requested quantity, or the first tier if none matches. Do not sum tiers or multiply by quantity. Quantity discounts do not apply.","additionalProperties":{"type":"number","uniqueKey":"items.[INDEX].pricing.oneOf.2.graduated_prices.additionalProperties","typeLabel":"number"},"isRequired":true,"uniqueKey":"items.[INDEX].pricing.oneOf.2.graduated_prices","typeLabel":"object"},"discount":{"type":"integer","description":"Effective discount percentage for your account and this tariff, including promotions. Use the returned value as-is. Excludes quantity discounts. Apply once; do not add /me.discount.","minimum":0,"maximum":90,"isRequired":true,"uniqueKey":"items.[INDEX].pricing.oneOf.2.discount","typeLabel":"integer"}},"uniqueKey":"items.[INDEX].pricing.oneOf.2","typeLabel":"Graduated · object"}],"uniqueKey":"items.[INDEX].pricing","typeLabel":"Standard · object | Fixed · object | Graduated · object"}},"example":{"id":1,"title":"Viewers","text":["Up to 1000 viewers"],"count":{"min":100,"max":1000},"price":89.91,"type":"viewers","hourly":true,"pricing_type":"standard","graduated_prices":null,"discounts":{"1":0,"100":10},"link":{"prefix":"https://www.twitch.tv/","placeholder":"twitch"},"panel":true,"pricing":{"type":"standard","currency":"usd","price_per_unit":1,"quantity_discounts":{"1":0,"100":10},"discount":10}},"uniqueKey":"items.[INDEX]","typeLabel":"object"},"uniqueKey":"","typeLabel":"object[]"},"examples":{"Example":{"title":"Example","value":[{"id":1,"title":"Viewers","text":["Up to 1000 viewers"],"count":{"min":100,"max":1000},"price":89.91,"type":"viewers","hourly":true,"pricing_type":"standard","graduated_prices":null,"discounts":{"1":0,"100":10},"link":{"prefix":"https://www.twitch.tv/","placeholder":"twitch"},"panel":true,"pricing":{"type":"standard","currency":"usd","price_per_unit":1,"quantity_discounts":{"1":0,"100":10},"discount":10}}]}},"exampleType":"generated"}},"exampleType":"generated"},"83a802a3-03b8-4fb4-8cce-9e31734d7229":{"description":"A valid API key is required.","headers":{"Date":{"schema":{"type":"string","example":"Sat, 25 May 2024 23:59:59 GMT"}},"Server":{"schema":{"type":"string","example":"Apache/2.4.38 (Debian)"}},"Content-Length":{"schema":{"type":"integer","example":"100"}},"Keep-Alive":{"schema":{"type":"string","example":"timeout=5, max=100"}},"Connection":{"schema":{"type":"string","example":"Keep-Alive"}},"Content-Type":{"schema":{"type":"string"},"example":"application/json; charset=UTF-8"}},"content":{"application/json":{"schema":{"type":"object","required":["error_code","name","message","code","status","type"],"properties":{"error_code":{"type":"string","description":"Error identifier for handling the response in your application.","isRequired":true,"uniqueKey":"error_code","typeLabel":"string"},"name":{"type":"string","description":"Localized error message; equal to message.","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"message":{"type":"string","description":"Localized explanation of the error.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"integer","description":"Error code, usually 0.","isRequired":true,"uniqueKey":"code","typeLabel":"integer"},"status":{"type":"integer","description":"HTTP status code.","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"type":{"type":"string","description":"Error type.","isRequired":true,"uniqueKey":"type","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"error_code":"unauthorized","name":"Your request was made with invalid credentials.","message":"Your request was made with invalid credentials.","code":0,"status":401,"type":"unauthorized_http_exception"},"examples":{"Example":{"title":"Example","value":{"error_code":"unauthorized","name":"Your request was made with invalid credentials.","message":"Your request was made with invalid credentials.","code":0,"status":401,"type":"unauthorized_http_exception"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"a65b174e-f4ce-4c94-8a59-744f8f6238a0":{"bearerAuth":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"3fcf4a7e-8f81-4a36-8bf8-301b84c5e660":{"url":"https://api.streamskill.pro/v1","description":"Production server - v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"streamskill","siteName":"StreamSkill API","title":"Get all - StreamSkill API","navMaps":{"firstHrefInVersion":{"v1":{"href":"/api-reference/endpoints/tariffs/all","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-11-15T19:09:55.461Z","originalFileLocation":"api-reference/endpoints/tariffs/all.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"StreamSkill API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/streamskill/AC4iw6zQbF-szMyQ/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/streamskill/AC4iw6zQbF-szMyQ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/streamskill/AC4iw6zQbF-szMyQ/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/streamskill/AC4iw6zQbF-szMyQ/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/streamskill/AC4iw6zQbF-szMyQ/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/streamskill/AC4iw6zQbF-szMyQ/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/streamskill/AC4iw6zQbF-szMyQ/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/streamskill/AC4iw6zQbF-szMyQ/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/streamskill/AC4iw6zQbF-szMyQ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get all - StreamSkill API\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"StreamSkill API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://api-docs.streamskill.pro/api-reference/endpoints/tariffs/all\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://streamskill.mintlify.site/_mintlify/api/og/v2?division=Tariffs\u0026amp;title=Get+all\u0026amp;theme=848d32c672c017187f11f66a\u0026amp;signature=924a59cbcef9bedd2e6152813acab360f08b79b24c64d317d4c02bd0cb71c62d\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get all - StreamSkill API\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://streamskill.mintlify.site/_mintlify/api/og/v2?division=Tariffs\u0026amp;title=Get+all\u0026amp;theme=848d32c672c017187f11f66a\u0026amp;signature=924a59cbcef9bedd2e6152813acab360f08b79b24c64d317d4c02bd0cb71c62d\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/streamskill/AC4iw6zQbF-szMyQ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"StreamSkill API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4B367C\">\u003clink data-mint-head rel=\"canonical\" href=\"https://api-docs.streamskill.pro/api-reference/endpoints/tariffs/all\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoints/tariffs/all.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://api-docs.streamskill.pro/#organization\",\"name\":\"StreamSkill API\",\"url\":\"https://api-docs.streamskill.pro\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/streamskill/oxTKykKOOcnrUxeN/logo/light.svg?fit=max\u0026auto=format\u0026n=oxTKykKOOcnrUxeN\u0026q=85\u0026s=e950e0acfaa5d6f6cf02f264463558ae\"}},{\"@type\":\"WebSite\",\"@id\":\"https://api-docs.streamskill.pro#website\",\"name\":\"StreamSkill API\",\"url\":\"https://api-docs.streamskill.pro\",\"publisher\":{\"@id\":\"https://api-docs.streamskill.pro/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://api-docs.streamskill.pro/api-reference/endpoints/tariffs/all#webpage\",\"url\":\"https://api-docs.streamskill.pro/api-reference/endpoints/tariffs/all\",\"name\":\"Get all\",\"dateModified\":\"2026-11-15T19:09:55.461Z\",\"isPartOf\":{\"@id\":\"https://api-docs.streamskill.pro#website\"},\"breadcrumb\":{\"@id\":\"https://api-docs.streamskill.pro/api-reference/endpoints/tariffs/all#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://api-docs.streamskill.pro/api-reference/endpoints/tariffs/all#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"StreamSkill API\",\"item\":\"https://api-docs.streamskill.pro\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get all\",\"item\":\"https://api-docs.streamskill.pro/api-reference/endpoints/tariffs/all\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://api-docs.streamskill.pro/api-reference/endpoints/tariffs/all#apireference\",\"headline\":\"Get all\",\"name\":\"Get all\",\"url\":\"https://api-docs.streamskill.pro/api-reference/endpoints/tariffs/all\",\"mainEntityOfPage\":{\"@id\":\"https://api-docs.streamskill.pro/api-reference/endpoints/tariffs/all#webpage\"},\"dateModified\":\"2026-11-15T19:09:55.461Z\",\"publisher\":{\"@id\":\"https://api-docs.streamskill.pro/#organization\"},\"isPartOf\":{\"@id\":\"https://api-docs.streamskill.pro#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"StreamSkill API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"StreamSkill API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/endpoints/tariffs/all.md","siteName":"StreamSkill API","nav":{"global":null,"versions":[{"version":"v1","groups":[{"group":"Get Started","pages":[{"title":"Introduction","href":"/introduction"}]},{"group":"API Documentation","pages":[{"title":"Authentication","href":"/api-reference/authentication"},{"title":"Pagination","href":"/api-reference/pagination"},{"title":"Data Modification","href":"/api-reference/data-modification"},{"title":"Languages","href":"/api-reference/languages"},{"title":"Errors and Rate Limiting","href":"/api-reference/errors"}]},{"group":"Basic","pages":[{"title":"Get me","openapi":"GET /me","href":"/api-reference/endpoints/basic"}]},{"group":"Purchases","pages":[{"title":"Get all","openapi":"GET /purchases","href":"/api-reference/endpoints/purchases/all"},{"title":"Get uncompleted","openapi":"GET /purchases/uncomplete","href":"/api-reference/endpoints/purchases/uncompleted"},{"title":"Get bulk purchases","openapi":"GET /purchases/bulk","href":"/api-reference/endpoints/purchases/bulk"},{"title":"Get purchase","openapi":"GET /purchases/{orderId}","href":"/api-reference/endpoints/purchases/purchase"},{"title":"Quote purchase","openapi":"POST /purchases/quote","href":"/api-reference/endpoints/purchases/quote"},{"title":"Create purchase","openapi":"POST /purchases/create","href":"/api-reference/endpoints/purchases/create"},{"group":"Actions","icon":"bolt","pages":[{"title":"Start purchase","openapi":"POST /purchases/{orderId}/start","href":"/api-reference/endpoints/purchases/actions/start"},{"title":"Stop purchase","openapi":"POST /purchases/{orderId}/stop","href":"/api-reference/endpoints/purchases/actions/stop"},{"title":"Bulk Start","openapi":"POST /purchases/bulk-start","href":"/api-reference/endpoints/purchases/actions/bulk-start"},{"title":"Bulk Stop","openapi":"POST /purchases/bulk-stop","href":"/api-reference/endpoints/purchases/actions/bulk-stop"},{"title":"Delete purchase","openapi":"DELETE /purchases/{orderId}","href":"/api-reference/endpoints/purchases/actions/delete"},{"title":"Start chatbots","openapi":"POST /purchases/{orderId}/start-chatbots","href":"/api-reference/endpoints/purchases/actions/start-chatbots"},{"title":"Stop chatbots","openapi":"POST /purchases/{orderId}/stop-chatbots","href":"/api-reference/endpoints/purchases/actions/stop-chatbots"},{"title":"Prolong purchase","openapi":"POST /purchases/{orderId}/prolong","href":"/api-reference/endpoints/purchases/actions/prolong"},{"title":"Quote viewers upgrade","openapi":"POST /purchases/{orderId}/upgrade-viewers/quote","href":"/api-reference/endpoints/purchases/actions/upgrade-viewers-quote"},{"title":"Upgrade viewers","openapi":"POST /purchases/{orderId}/upgrade-viewers","href":"/api-reference/endpoints/purchases/actions/upgrade-viewers"},{"title":"Edit Twitch Viewers","openapi":"POST /purchases/{orderId}/edit-twitch-viewers","href":"/api-reference/endpoints/purchases/actions/edit-twitch-viewers"},{"title":"Edit Twitch Followers","openapi":"POST /purchases/{orderId}/edit-twitch-followers","href":"/api-reference/endpoints/purchases/actions/edit-twitch-followers"},{"title":"Edit Kick Viewers","openapi":"POST /purchases/{orderId}/edit-kick-viewers","href":"/api-reference/endpoints/purchases/actions/edit-kick-viewers"},{"title":"Edit AI Chatbots","openapi":"POST /purchases/{orderId}/edit-ai-chatbots","href":"/api-reference/endpoints/purchases/actions/edit-ai-chatbots"},{"title":"Edit chatbots","openapi":"POST /purchases/{orderId}/edit-chatbot","href":"/api-reference/endpoints/purchases/actions/edit-chatbots"}]}]},{"group":"Services","pages":[{"title":"Get all","openapi":"GET /services","href":"/api-reference/endpoints/services/all"},{"title":"Get service","openapi":"GET /services/{serviceSlug}","description":null,"href":"/api-reference/endpoints/services/service"}]},{"group":"Tariffs","pages":[{"title":"Get all","openapi":"GET /tarifs","href":"/api-reference/endpoints/tariffs/all"},{"title":"Get tariff","openapi":"GET /tarifs/{tarifId}","description":null,"href":"/api-reference/endpoints/tariffs/tariff"}]}]}]},"basePath":"","title":"Get all - StreamSkill API","buildId":"dpl_9RFrWkXdFTJCytfx6jAofvAaEXr6","deploymentId":"dpl_9RFrWkXdFTJCytfx6jAofvAaEXr6","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BgGj2PGS.js","utils-BhNOqRKb.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BAgRNUZo.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CGkb0TPw.js","snippetPresets-ChLkL1a6.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-Ef10Jrbx.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-DlVCnjU8.js","shallow-BA55zJxQ.js","getApiPlaygroundDisplay-DR09dKtp.js","CodeSnippet-BZ8J8Kll.js","CodeSnippets-CcguVheG.js","Page-C7x-eUfk.js","getPastedJson-D5UqeqBp.js","icon-DpD0l99C.js","MethodPill-Wg2NXsp_.js","DuplicateIcon-CCSyX8lh.js","createIcon-C4Ukv9HX.js","DynamicMarkdown-RhjEuCHC.js","SectionHeading-DL1MykRq.js","axios-vUo_bRtp.js","Markdown-BwQ4RMdp.js","dist-CiVXVcSh.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","katex-YMM-FMeD.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","AssistantPageLink-Dic2Jtb2.js"]}