Discover/Pikabu API
live

Pikabu APIpikabu.ru

Access hot, best, fresh, and community posts from Pikabu.ru. Retrieve full comment trees, story metadata, and user profiles via 6 structured endpoints.

Endpoint health
verified 2d ago
get_hot_posts
get_best_posts
get_fresh_posts
get_community_posts
get_story_details
6/6 passing latest checkself-healing
Endpoints
6
Updated
26d ago

What is the Pikabu API?

The Pikabu.ru API exposes 6 endpoints covering trending posts, community feeds, full story content, and user profiles from one of Russia's largest community platforms. The get_story_details endpoint returns complete comment trees with parent–child relationships, Cyrillic-encoded text, author info, and per-comment ratings alongside the story's full HTML body — data that is otherwise difficult to extract reliably at scale.

Try it
Page number for pagination.
api.parse.bot/scraper/15bb8749-79ec-4bca-a111-3d4355ced922/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/15bb8749-79ec-4bca-a111-3d4355ced922/get_hot_posts?page=1' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace pikabu-ru-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Pikabu SDK — browse feeds, drill into stories, check user profiles."""
from parse_apis.pikabu_api import Pikabu, UserNotFound

client = Pikabu()

# Browse hot/trending posts — limit= caps total items fetched across pages.
for post in client.storysummaries.hot(limit=5):
    print(post.title, post.rating, post.comments_count)

# Drill into the first hot post to get full content and comments.
top_post = client.storysummaries.best(limit=1).first()
if top_post:
    story = top_post.details()
    print(story.title, story.author, story.full_content_html[:100])
    for comment in story.comments.list(limit=3):
        print(comment.author, comment.text[:80], comment.rating)

# Community-scoped browsing — constructible resource, no extra fetch needed.
cats = client.community(slug="cats")
for post in cats.posts(limit=3):
    print(post.title, post.author, post.timestamp)

# User profile lookup with typed error handling.
try:
    profile = client.userprofiles.get(username="admin")
    print(profile.username, profile.url, profile.stats.rating, profile.stats.posts)
except UserNotFound as exc:
    print(f"User not found: {exc.username}")

print("exercised: storysummaries.hot / storysummaries.best / details / comments.list / community.posts / userprofiles.get")
All endpoints · 6 totalmissing one? ·

Get trending/hot posts from the homepage feed. Returns paginated results with story metadata including title, author, rating, and comments count. Each page typically returns around 10 stories.

Input
ParamTypeDescription
pageintegerPage number for pagination.
Response
{
  "type": "object",
  "fields": {
    "stories": "array of story summary objects"
  },
  "sample": {
    "data": {
      "stories": [
        {
          "id": "14052335",
          "url": "https://pikabu.ru/story/otvet_na_post_14052335",
          "tags": [],
          "title": "Ответ на пост",
          "author": "SergeyZZ",
          "rating": "2158",
          "timestamp": "2026-06-11T08:11:57+03:00",
          "comments_count": 139,
          "content_preview": "Осталось чтобы Путин одобрил..."
        }
      ]
    },
    "status": "success"
  }
}

About the Pikabu API

Feed Endpoints

Three endpoints cover Pikabu's main content feeds. get_hot_posts returns the current trending feed, get_best_posts returns the top-rated feed, and get_fresh_posts returns the newest posts. All three are paginated via an integer page parameter and return arrays of story objects sharing the same shape: id, title, url, author, timestamp, rating, comments_count, tags, and content_preview. Note that page 1 of get_best_posts and get_fresh_posts may intermittently return upstream errors; pages 2 and above are reliable for polling.

Community and Story Detail Endpoints

get_community_posts accepts a required community_slug parameter matching the slug as it appears in the Pikabu URL (for example cats or reddit). Passing an invalid slug will propagate an upstream error, so slugs should be validated before use. get_story_details takes either a full story URL (https://pikabu.ru/story/<slug>) or a numeric story ID and returns the richest response in the API: full_content_html for the complete story body, plus a flat comments array where each entry carries id, parent_id, author, author_id, timestamp, rating, text, and indent — enough to reconstruct the full comment hierarchy client-side.

User Profile Endpoint

get_user_profile accepts a username string and returns a stats object containing rating, posts, comments, subs, and user_id (all as strings), plus the canonical url for the profile. This is useful for tracking author credibility or building user-level aggregations across scraped stories.

Encoding and Reliability Notes

All text content, including comment bodies and tags, is returned with correct Cyrillic encoding. Comment trees are returned as flat arrays with parent_id and indent fields to indicate depth, rather than nested objects, so tree reconstruction is the caller's responsibility.

Reliability & maintenanceVerified

The Pikabu API is a managed, monitored endpoint for pikabu.ru — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when pikabu.ru changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official pikabu.ru API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
2d ago
Latest check
6/6 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Monitor trending Russian-language discussions by polling get_hot_posts and tracking rating and comments_count over time
  • Build a community digest tool that aggregates posts from specific Pikabu communities using get_community_posts with varying community_slug values
  • Reconstruct full comment threads from get_story_details using parent_id and indent fields for sentiment or discourse analysis
  • Profile Pikabu authors by combining get_user_profile stats (posts, rating, subs) with their stories from the feed endpoints
  • Track tag usage and content trends across get_best_posts pages by aggregating the tags arrays returned in story objects
  • Feed a translation or language-learning tool with authentic Russian community content from full_content_html and comment text fields
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Pikabu have an official public developer API?+
Pikabu does not publish an official public developer API or developer documentation for third-party access to its content.
What exactly does get_story_details return for comments?+
get_story_details returns a flat array under the comments key. Each comment object includes id, parent_id, author, author_id, timestamp, rating, text, and indent. To reconstruct the tree, group by parent_id or use the indent value as a depth indicator. The endpoint also returns full_content_html for the story body, tags, rating, and comments_count.
Are there known reliability issues with any endpoints?+
Yes. Page 1 of both get_best_posts and get_fresh_posts may intermittently return server errors due to upstream behavior on Pikabu's side. Pages 2 and higher return reliably. If you need page-1 content from these feeds, implement retry logic or fall back to get_hot_posts.
Can I search for posts by keyword or filter by date range?+
Not currently. The API covers feed-based retrieval (hot, best, fresh, community) and direct story or user lookup. There is no keyword search or date-range filter parameter across any endpoint. You can fork this API on Parse and revise it to add a search endpoint if that capability is needed.
Does the API return media attachments like images or videos from posts?+
Media is not returned as structured fields. Story objects include content_preview (text) and full_content_html (raw HTML of the story body), so embedded image or video URLs may appear within the HTML but are not parsed into separate response fields. You can fork this API on Parse and revise it to extract and surface media URLs as structured data.
Page content last updated . Spec covers 6 endpoints from pikabu.ru.
Related APIs in Social MediaSee all →
reddit.com API
Search Reddit posts and comments across any subreddit. Retrieve post discussions with full comment threads, search by keyword, and browse subreddit feeds by category (hot, new, top, rising) with flexible sorting and pagination.
news.ycombinator.com API
Browse Hacker News top/new/best/ask/show stories and job posts, search stories by keyword and timeframe, fetch user profiles, retrieve comment threads for a post, and compute basic engagement stats and trending stories.
kaskus.co.id API
Search and browse Kaskus forum discussions across communities, discover trending threads, and read full post content from Indonesia's largest online forum. Find hot topics, explore community-specific conversations, and access popular communities all in one place.
toutiao.com API
Browse personalized news feeds, discover trending articles and hot topics, search content across categories, view detailed articles with comments, and explore author profiles on Toutiao. Access video feeds and stay updated with the latest news and trending stories all in one place.
explodingtopics.com API
Discover rapidly growing trends, emerging startups, and top-performing websites by filtering through trending topics by category and volatility. Programmatically access detailed trend analysis, related topics, blog coverage, and curated highlights to stay ahead of market movements.
cryptopanic.com API
Access real-time cryptocurrency market sentiment data from CryptoPanic. Retrieve news posts filtered by bullish or bearish sentiment, browse the full news feed with flexible filters, and fetch an aggregated sentiment score derived from 24-hour price movements across top cryptocurrencies.
bitcointalk.org API
Access BitcoinTalk forum data to browse boards, search threads, read posts, and view user profiles all in one place. Quickly find recent discussions and explore community activity without visiting the forum directly.
superuser.com API
Access questions, answers, and comments from Super User to find solutions to technical problems, search for specific topics, and explore trending discussions across the community. View user profiles, track site activity, and discover the hottest questions trending across the Stack Exchange network.