Documentation — FetchLayer Docs

API Reference

Documentation

Independent REST APIs for 39 platforms — social feeds, app stores, ad libraries, review sites, maker communities, storefronts, marketplaces and search engines — plus the core FetchLayer platform API. Every surface shares the same auth pattern and JSON shape, and is also reachable through the MCP server.

Quick start

Sign up for a free API key, then make your first request in under two minutes. Pick a platform below and open its Getting Started page.

Authentication

Every platform uses the same pattern: send your API key as a Bearer token in the Authorization header. No per-platform OAuth, no separate credentials.

bash
curl -X POST https://api.fetchlayer.dev/reddit/search \
  -H "Authorization: Bearer ss-your-key" \
  -H "Content-Type: application/json" \
  -d '{"query": "developer tools", "limit": 5}'

Why FetchLayer

Structured JSON

Every endpoint returns consistent, typed JSON — no HTML to parse.

One key, no OAuth

Authenticate with a FetchLayer key — no Reddit, Twitter, or Google credentials required.

Built for agents

Typed SDKs, an MCP server, and Agent Skills — see the Integrations tab.

Free tier included

Start testing immediately — no credit card required.

Platforms

39 platforms, each with its own base URL and endpoint set. Same Bearer token, same JSON shape.

Social

Reddit API

Search, posts, full comment trees, communities, users, and discovery — the deepest endpoint set on the API.

Read docs

X / Twitter API

Search tweets, fetch tweet detail and replies, inspect profiles, and traverse followers/following lists.

Read docs

YouTube API

Extract comments and nested replies from any YouTube video with sorting, depth control, and pagination.

Read docs

TikTok API

Account profiles with exact follower counts, an account’s videos, one video in full, keyword search, hashtag feeds and video comments.

Read docs

Instagram API

Account profiles with their story highlights, an account’s posts, its reels with play counts, its active stories, one post in full, the comments on a post and the replies to them, popular reels and trending terms.

Read docs

Threads API

Posts with exact like, reply, repost, quote and share counts, the replies to a post, account profiles with exact follower counts, an account’s posts, replies and reposts, post and account search, topic posts and trending topics.

Read docs

Weibo API

Posts with exact repost, comment, like and read counts, the comments on a post and the replies to them, account profiles with exact follower counts, an account’s posts, post and account search, and the live hot-search list.

Read docs

Douyin API

Videos and image posts with exact like, comment, share and save counts, account profiles with exact follower counts, an account’s recent videos, a video’s comments, whole collections, hashtag summaries, related videos and the hot-search board.

Read docs

Link in Bio API

Any link-in-bio page — Linktree, Lnk.Bio, AllMyLinks and solo.to — with its identity, its links and where each link really goes once the redirects are followed.

Read docs

Response status codes

Every endpoint across every platform uses the same status codes to indicate success or failure.

200

Success

The request succeeded — the response body contains the requested data.

401

Unauthorized

The API key is missing or invalid.

429

Too Many Requests

You exceeded your plan's per-minute or monthly request allowance.

500

Server Error

Something went wrong on our end — please retry.