---
title: "Google News API: Decode | Perceptlayer"
description: "Decode from Google News as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/google-news/decode
---

[APIs](https://perceptlayer.com/apis) / [Google News](https://perceptlayer.com/apis/google-news) / Decode

# Google News: Decode

Decode from Google News as JSON. 1 credit per successful call.

GET `/v1/google-news/decode`

## Parameters

Send parameters in the query string.

Required Send `article_id` or `url`.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `article_id` | string | Optional | Any |
| `url` | string | Optional | Up to 2,000 characters |
| `hl` | string | Optional | Any |
| `gl` | string | Optional | Any |

## Example request

Google News

GET /v1/google-news/decode?url=https%3A%2F%2Fnews.google.com%2Frss%2Farticles%2FCBMikgFBVV95cUxPOVFPejJyS0JxcU5jYVlmUmhTX0VORHJFVHpvMjBWX2xWZ0pKam9ERjBLVkU0Q2kyb0Zuc2o3cGE0TzdMa2FVQkh0dm9KaWg5VG1wdkI2LWlOLXlZZDBvUEEwanhoUTl5RC1aVUctdEhMQTBlRVA0Tk1GR2wtY2RCVi1kcFpNdnU5RE4wd0tHZ1dCUQ%3Foc%3D5 

```
{
  "search_parameters": {
    "engine": "google_news_decode",
    "article_id": "CBMikgFBVV95cUxPOVFPejJyS0JxcU5jYVlmUmhTX0VORHJFVHpvMjBWX2xWZ0pKam9ERjBLVkU0Q2kyb0Zuc2o3cGE0TzdMa2FVQkh0dm9KaWg5VG1wdkI2LWlOLXlZZDBvUEEwanhoUTl5RC1aVUctdEhMQTBlRVA0Tk1GR2wtY2RCVi1kcFpNdnU5RE4wd0tHZ1dCUQ",
    "hl": "en-US",
    "gl": "US",
    "ceid": "US:en"
  },
  "publisher_url": "https://electrek.co/2026/11/03/byds-flagship-luxury-ev-sedan-hits-4000-sales-in-19-days/"
}
```

200 OK JSON X-Credits-Used: 1

Recorded 12 Nov 2026 and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/google-news?try=decode#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

The response has these 2 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

| Field | Type |
| --- | --- |
| `search_parameters` | object |
| `publisher_url` | url |
