Skip to content
All sites
Data API

Lemmy Data API

Structured JSON data, on demand, with anti-bot bypass built in.

1 endpoint
lemmy.comGET/lemmy/search_…{ } JSON

Lemmy Data API overview

Extract structured data from Lemmy as structured JSON. Choose an endpoint below, check its parameters, and run it in the dashboard playground.

/v1/lemmy/… Open playground

Key Features

Structured JSON

Clean, normalized records for structured data. No HTML parsing on your side.

1 endpoint

Across 1 category, all under one base path.

Fast + reliable

Served over our managed egress with automatic retries.

Live data on every run

Every request scrapes the source live, so results are always current.

Regions & Languages

Global coverage. Results are returned for the default locale.

Pagination

Page through results with cursor.

Quick Start

Use your dedicated Data API key. Follow this endpoint's method and parameters.

data_api.py
# Install: pip install requests
import json
import os
import requests

params = json.loads("{\"query\":\"electric bikes\",\"limit\":20}")
response = requests.request(
    "GET", "https://api.capzy.ai/v1/lemmy/search_posts",
    headers={"X-API-Key": os.environ["CAPZY_DATA_API_KEY"]},
    params=params,
    timeout=120,
)
response.raise_for_status()
print(response.json())

Per-run pricing

failed requests are free
EndpointCategoryPrice / 1k results
/v1/data/lemmy/search_postsSearch PostsSearch1 credit / run