Request

GET /api/v2/song/{uuid}/youtube/views

Path parameters

Parameter name Value Description Additional
uuid string

A Song UUID

Required

Query string parameters

Parameter name Value Description Additional
startDate string

Optional period start date (format YYYY-MM-DD), period cannot exceed 90 days

endDate string

Optional period end date (format YYYY-MM-DD), leave empty to use latest 90 days

Response

Status code Description Resource
200 OK

A song response with YouTube views for a period

YouTube Views Plot Collection
400 Bad Request

Invalid platform code

401 Unauthorized

You are not logged in

403 Forbidden

This endpoint is not included in your current plan, reach out to help@soundcharts.com if you want access.

404 Not Found

Song not found


Explore this api

uuid

A Song UUID

startDate

Optional period start date (format YYYY-MM-DD), period cannot exceed 90 days

endDate

Optional period end date (format YYYY-MM-DD), leave empty to use latest 90 days

Try it out!