Kwai API

Kwai Scraper API for Profiles and Videos

Retrieve creator profiles, video feeds and individual posts. Keep the creator, caption and video details together.

WHAT YOU CAN BUILD / 03 ENDPOINTS

Put Kwai data to work.

Find your use case, then explore the request and response.

Get a Kwai profile

GET/v1/kwai/profile

Build creator comparison cards from Kwai profile identity, biography and public account statistics.

Get a Kwai user’s posts

GET/v1/kwai/user/posts

Build a short-video research feed from the posts published by a selected Kwai creator.

Get a Kwai post

GET/v1/kwai/post

Build a video detail card from a Kwai post URL using its music, tags and media metadata.

HOW IT WORKS

From API key to Kwai data in four steps.

Run a sample below without a key.

  1. 01

    Get your API key

    Create a free account and copy your key. You start with 100 free credits; no card needed.

  2. 02

    Choose an endpoint

    Pick one of the 3 Kwai endpoints and add its input, such as a public handle.

  3. 03

    Send one request

    Call it with your key in the x-api-key header. ScrapeAtlas reads the public Kwai data and retries when a read fails.

  4. 04

    Use the JSON

    Get structured JSON with a coverage status. Only successful requests use a credit.

TRY IT HERE / LIVE SAMPLE

Try a sample request.

Try the Kwai API right here. This sample uses the Get a Kwai profile endpoint and returns live JSON. No API key needed.

  1. 01
    Choose a sample value

    Start with KwaiBrasilOficial, or change the handle field to your own value.

  2. 02
    Select Run sample

    Execute the sample code and see the response in the JSON response tab.

  3. 03
    Build on the result

    Open the full playground to try more parameters and copy code for your app.

Open this endpoint in the playground Request and response fields
LIVE SAMPLE / Get a Kwai profileNo API key needed

Preparing the sample…

// Run this sample here — no API key needed.
const value = "KwaiBrasilOficial";
const url = new URL("/website/demo/kwai",
  "https://api.scrapeatlas.com");
url.searchParams.set("value", value);

const response = await fetch(url);
const data = await response.json();
console.log(data);
GET/v1/kwai/profile

A live example from our playground. Change the value above, then select Run sample.

CUSTOMER STORIES

What they are saying
about us.

Nigel Yong — Founder, PostOnce

Pay as you go

Start free.
Build at your pace.

One-time credit packs, priced in US dollars. Credits never expire, and there is no monthly commitment.

Free

Try the API with your next idea.

$0No credit card needed

100 free credits

One starter grant per account

Starter

For a new idea or a one-off project.

$19USD / one-time

10,000 credits

$1.90 per 1,000 successful requests

Growth

Save 6.3%

For regular workflows and bigger builds.

$89USD / one-time

50,000 credits

$1.78 per 1,000 successful requests

Enterprise Plan

Want to scrape larger volumes?

Let’s talk about a plan that fits your scale.

Kwai API

Frequently Asked Questions

Explore the API reference

Kwai API and scraping

What profile and video data does the Kwai API return?

Retrieve public profile metadata and counts, a creator’s feed and individual video posts. Feed responses include albums, post IDs and media metadata; post details include music, tags and media information.

How do I scrape a Kwai creator profile and its posts?

Look up a profile by handle or URL, then use User Posts to retrieve the feed. Pass the returned cursor for the next page and use a post URL to retrieve details for a selected video.

Can I look up a Kwai profile by handle or URL?

Yes. Profile accepts either a handle or a profile URL and returns the public account metadata and counters. Use the account identity to associate the creator with posts collected through User Posts.

Kwai: creator feeds and video metadata

Can I retrieve Kwai videos with music and hashtag metadata?

Yes. Post Details accepts a Kwai video post URL and returns its music, tags and media metadata. These fields let your application organize videos by the sounds and subjects associated with them.

How do I build a Kwai video research feed with pagination?

Use User Posts to retrieve the creator feed in source order with albums, post IDs and media metadata. Pass data.cursor as the next request’s cursor, then retrieve individual post details for videos you want to examine.

Can I retrieve one Kwai video directly from its post URL?

Pass the video’s /@handle/photo/id URL to Post Details. The response brings its music, tags and media metadata into a single record, which your application can attach to a bookmarked video or research note.

API access and integration

How do I get a ScrapeAtlas API key and authenticate requests?

Create a ScrapeAtlas account and generate an API key in the dashboard. Send the key in the x-api-key request header when calling https://api.scrapeatlas.com. The API playground lets you enter an endpoint’s parameters and inspect its JSON response.

Can I call the scraping API from Python, JavaScript or the CLI?

Yes. Send authenticated HTTP requests from Python, JavaScript or another language that supports HTTP. The endpoint reference includes request examples and response fields. Use the ScrapeAtlas CLI for terminal workflows and pass the returned pagination values when requesting additional result pages.

Can I connect an AI assistant to the ScrapeAtlas MCP server?

Yes. Connect an MCP-compatible assistant to the ScrapeAtlas MCP server to discover and call the public platform tools with your ScrapeAtlas account. The agent reference also gives coding assistants a readable guide to the endpoints and their request schemas.

Make something with it

Ready to build?

Bring social data into your next project.
Start with 100 free credits and see what you can build.

No credit card needed.Building with an AI agent?