---
title: "Get Guardian topic archive"
method: GET
path: "/guardian/topic"
tags: ["Guardian"]
---

# Get Guardian topic archive

`GET /guardian/topic`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/guardian/topic`
- Auth: API key in header `x-api-key`

Returns the stories on a public Guardian tag archive (20 per page, newest first, with total pages and results) or section front (a single curated page, is_front true). topic is a Guardian tag or section slug and page defaults to 1. resolved_topic reports the path actually served, which differs for edition-scoped fronts.

## Query parameters

- `topic` string, required
- `page` integer

## Headers

- `x-api-key` string, required

## Response `200`

OK

- GuardianTopicResponseDoc
  - `code` integer
  - `data` GuardianTopicResponse
    - `is_front` boolean: IsFront is true for a curated section front (no archive paging) and false for a paginated tag archive.
    - `items` GuardianTopicItem[]
      - `kicker` string: Kicker is the series or blog label Guardian shows above the headline.
      - `published_at` string
      - `section` string
      - `summary` string
      - `title` string
      - `url` string
    - `pagination` GuardianTopicPagination
      - `has_next` boolean
      - `next_page` integer
      - `page` integer
      - `total_pages` integer: TotalPages is the archive's last page (1 for a section front).
      - `total_results` integer: TotalResults is Guardian's article count for a tag archive.
    - `resolved_topic` string: ResolvedTopic is the path Guardian actually served, which differs from Topic for edition-scoped fronts (technology -> uk/technology).
    - `topic` string
  - `msg` string

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `429`: Too Many Requests
- `503`: Service Unavailable

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/afac9b012a27?raw)
