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 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 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 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 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 contains the same fields as its entry in the full index.
Clients can ignore new fields added to v1. See the API deprecation policy 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 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.
Read articles in Markdown
Start at index.md. For a published page, replace its trailing slash with .md. For example, Loka’s partner reference in Markdown includes links to the AWS and Anthropic directories and the announcement for OpenAI models on Amazon Bedrock.
The Markdown index 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.
Discover the API and cite the research
The resource catalog describes the article API and the citation skill. 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. Each line contains the same structured article data as its canonical page.
Follow the publication
Subscribe to the RSS feed or Atom feed for article titles, summaries and publication dates. The XML sitemap also lists author profiles and topic pages. For code published alongside articles, visit Loka on GitHub.