I am currently using the Refinitiv Data Platform (RDP) to fetch news data by executing Python code.
I’m trying to retrieve individual stories using their story IDs, with the sample code below:
def fetch_single_story(story_id, access_token):
story_url = f"https://api.refinitiv.com/data/news/v1/stories/{story_id}"
headers = {
'Accept': 'application/json',
'Authorization': f'Bearer {access_token}'
}
response = requests.get(story_url, headers=headers)
if response.status_code != 200:
log(f"⚠️ Failed to fetch story {story_id}: {response.status_code}")
return None
However, this approach is quite slow since each execution fetches only one story at a time.
I’m considering using parallel processing to fetch multiple stories simultaneously. In that case, I’d like to know:
Is there any request rate limit per second for the /stories/{story_id} endpoint?
I couldn’t find a clear description of this in the News Service User Guide, so I would appreciate any clarification. Many thanks!