Get pricing
GET
/v1/pricing
const url = 'https://api.clipbeat.app/v1/pricing';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.clipbeat.app/v1/pricing \ --header 'Authorization: Bearer <token>'Prices per tier (pass song_id for prices by song length).
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”song_id
string format: uuid
Responses
Section titled “Responses”Pricing
Media typeapplication/json
object
Example generated
{}Missing, invalid or revoked API key
Media typeapplication/json
object
error
required
string
message
required
string
topup_url
string
retry_after_sec
integer
Example generated
{ "error": "example", "message": "example", "topup_url": "example", "retry_after_sec": 1}Not found
Media typeapplication/json
object
error
required
string
message
required
string
topup_url
string
retry_after_sec
integer
Example generated
{ "error": "example", "message": "example", "topup_url": "example", "retry_after_sec": 1}