Yahoo Finance API file_get_contents 429 Слишком много запросов ⇐ Php
-
Anonymous
Yahoo Finance API file_get_contents 429 Слишком много запросов
I am using Yahoo Finance's API at https://query1.finance.yahoo.com/v8/fin ... art/Ticker with php's file_get_contents and getting "failed to open stream: HTTP request failed! HTTP/1.0 429 Too Many Requests" but when I use curl to the same URL from the command line of the server I get an actual response! I verified that both of the requests are coming from the same IP.
I am not sending many requests - I sent maybe 40 get requests last night and then my first request today failed. My question is - has anyone seen the same type of problem? I read that the limit was 100 requests per hour - which I was well under!
Any advice would be appreciated.
Источник: https://stackoverflow.com/questions/781 ... y-requests
I am using Yahoo Finance's API at https://query1.finance.yahoo.com/v8/fin ... art/Ticker with php's file_get_contents and getting "failed to open stream: HTTP request failed! HTTP/1.0 429 Too Many Requests" but when I use curl to the same URL from the command line of the server I get an actual response! I verified that both of the requests are coming from the same IP.
I am not sending many requests - I sent maybe 40 get requests last night and then my first request today failed. My question is - has anyone seen the same type of problem? I read that the limit was 100 requests per hour - which I was well under!
Any advice would be appreciated.
Источник: https://stackoverflow.com/questions/781 ... y-requests
Мобильная версия