Python News Data API

I am interested in U.S. news data at a large scale. I've already got an API key, but my first attempt in python is not working and gives me the following error code:

ScopeError: Insufficient scope for key=/data/news/v1/headlines, method=GET.

Missing scopes: {'trapi.data.news.read'}

Answers

  • Hello @Thomas_1404

    The error message-

    ScopeError: Insufficient scope for key=/data/news/v1/headlines, method=GET.

    Missing scopes: {'trapi.data.news.read'}

    means that your account does not have the permissions to get data from this service endpoint. Please reach out to your LSEG account manager to get these additional products.