# Loka Tech Blog API documentation

The blog publishes a read-only collection of articles and technical reports. You can read each resource with an ordinary HTTP GET request. No account or API key is required.

## Browse articles a page at a time

Fetch the [first page of article summaries](https://techblog.loka.com/api/v1/article-cursors/index.json) for up to 10 titles, descriptions and links, newest first. Each item’s `href` opens the article and `record` retrieves its full JSON text. Follow the absolute `next` URL until its value is `null`.

```
curl -fsSL 'https://techblog.loka.com/api/v1/article-cursors/index.json'
```

Save the returned `next` URL to resume later. Its cursor identifies the last article you received, so a new post at the top of the list does not shift your bookmark. If that article is withdrawn, the cursor returns HTTP 404. Restart at the first page and skip canonical paths you already have.

The [numbered index](https://techblog.loka.com/api/v1/article-pages/1.json) supports clients that use page numbers. To take a single snapshot of every article and its text, download the full index in one request.

## Search the article index

Fetch [`search-index.json`](https://techblog.loka.com/search-index.json) to get a JSON array with one record per listed article. Use `title` and `description` for a results list, or match a query against `text` in your client. The `authors`, `tags` and `topics` fields are arrays of names. The [OpenAPI specification](https://techblog.loka.com/openapi.json) describes this response and its fields. Resolve `href` against the site origin to open the article.

To refresh a cached index, send its `ETag` in the `If-None-Match` request header. A matching tag returns HTTP 304 with an empty body. Reuse your cached index in that case.

## Fetch one article as JSON

Use `GET /api/v1/articles/{slug}.json` when you already know the article. Take the last segment of its `href` from the index. For example, the [GPT-5.5 benchmark record](https://techblog.loka.com/api/v1/articles/openai-bedrock.json) contains the same fields as its entry in the full index.

Clients can ignore new fields added to v1. See the [API deprecation policy](https://techblog.loka.com/docs/deprecation/) for version changes and migration notices. An unknown slug returns HTTP 404. GitHub Pages returns an HTML error page. Its `application/problem+json` script element contains the status, explanation and publication index. A [Markdown recovery guide](https://techblog.loka.com/404.md) is also available by URL.

## Handle throttled requests

GitHub Pages may return HTTP 429 with an HTML explanation. Pause fetching, reuse cached records, and retry later. Check the status code before parsing a response as JSON. GitHub documents this behavior in its [Pages limits](https://docs.github.com/en/pages/getting-started-with-github-pages/github-pages-limits).

## Read articles in Markdown

Start at [`index.md`](https://techblog.loka.com/index.md). For a published page, replace its trailing slash with `.md`. For example, [Loka’s partner reference in Markdown](https://techblog.loka.com/partners.md) includes links to the AWS and Anthropic directories and the announcement for OpenAI models on Amazon Bedrock.

The [Markdown index](https://techblog.loka.com/llms.txt) links to a text edition of each listed article. To read one from a search result, append `llms.txt` to its trailing-slash `href`. To download the collection in one request, use [`llms-full.txt`](https://techblog.loka.com/llms-full.txt).

## Discover the API and cite the research

The [resource catalog](https://techblog.loka.com/.well-known/ard.json) describes the article API and the [citation skill](https://techblog.loka.com/.well-known/agent-skills/cite-loka-research/SKILL.md). Browsers with WebMCP support can call `get_loka_article` with the same slug as the JSON endpoint. To import article metadata without crawling every page, read the [JSON Lines feed](https://techblog.loka.com/feeds/articles.jsonl). Each line contains the same structured article data as its canonical page.

## Follow the publication

Subscribe to the [RSS feed](https://techblog.loka.com/rss.xml) or [Atom feed](https://techblog.loka.com/atom.xml) for article titles, summaries and publication dates. The [XML sitemap](https://techblog.loka.com/sitemap.xml) also lists author profiles and topic pages. For code published alongside articles, visit [Loka on GitHub](https://github.com/LokaHQ).

[Canonical page](https://techblog.loka.com/docs/)
