Real-time access to structured Google News results without blocks or CAPTCHAs.
Get Your API Key
Sign in at hasdata.com, go to your account settings, and copy your API key.
All requests must include your key in the x-api-key header.
Request Cost and API Credits
Each request to the Google News API consumes API Credits from your account balance.
- Cost per request: 10 API Credits
- Credits are deducted only for successful requests.
- Your total available credits depend on your active plan.
You can use your credits across all HasData APIs. The same credit balance is shared platform-wide.
Unused credits do not roll over. Any remaining credits expire at the end of the current billing period.
To monitor your credit usage and remaining balance, sign in to your account dashboard at app.hasdata.com.
Make Your First Request
curl --request GET \
--url https://api.hasdata.com/scrape/google/news \
--header 'Content-Type: application/json' \
--header 'x-api-key: <your-api-key>'
API Parameters
| Parameter | Default Value | Required | Description |
|---|
q | - | No | Free-text query as used on news.google.com. Not allowed with topicToken, storyToken, or publicationToken. |
gl | - | No | The two-letter country code for the country you want to limit the search to. |
hl | - | No | The two-letter language code for the language you want to use for the search. |
topicToken | - | No | Token for a Google News topic such as World, Business, or Technology. Not allowed with q, storyToken, or publicationToken. |
sectionToken | - | No | Token for a sub-section under a topic, for example Business → Economy. Use only when topicToken or publicationToken is present. |
publicationToken | - | No | Token for a specific publisher such as CNN or BBC. Not allowed with q, storyToken, or topicToken. |
storyToken | - | No | Token for a single news story cluster (the “Full coverage” page). |
so | - | No | Sort order for articles in a story. Use only with storyToken. |