Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can i know my remaining Soundcloud API Limit?

Tags:

php

soundcloud

I am working with Sound-Cloud API in my application for these i create some APIs. It was working fine yesterday but now its showing

error: string(47) "The requested URL responded with HTTP code 429.

I checked Sound-Cloud documentation and find HTTP Code 429 related to Too many request.

Here my concern is How i can know count of my all requests and remaning request.

like image 762
Ashish Chaturvedi Avatar asked Aug 13 '15 05:08

Ashish Chaturvedi


1 Answers

Effective July 1, all requests that result in access to a playable stream are subject to a limit of 15,000 requests per any 24-hour time window. Ref

NOTE

There is no way to count, how many requests are remaining or used.

Solution

  1. You have to check, how many API request you have at one page? Reduce them as much as you can.

  2. You can create multiple API KEYS and use them randomly.

  3. You can make cache of your queries.

like image 61
Hassaan Avatar answered Sep 20 '22 13:09

Hassaan