Spiral gives your agent every tool with one account. Browse the tools →

Muse Code · Social Media

How to Use Kwai account posts in Muse Code

Kwai account posts returns public posts with captions, video and cover links, author details, and engagement counts. Use it to review a brand's publishing or compare posts across a campaign, with up to 50 posts per call.

Prompts to try with Kwai account posts in Muse Code

Copy an example into Muse Code, or ask in your own words.

Use Kwai account posts for KwaiBrasilOficial and add a report to this project showing captions, views, likes, comments, and forwards for up to 50 returned posts.

Kwai account postsMuse Code
Try asking
  • Use Kwai account posts for https://www.kwai.com/@KwaiBrasilOficial and build a paginated collector in this project that follows returned continuation cursors.

  • Use Kwai account posts for KwaiBrasilOficial and create a project report that ranks returned posts by comments per view, excluding posts with zero views.

  • Use Kwai account posts for KwaiBrasilOficial and add a review table with each returned caption, creation timestamp, cover link, and video link.

  • Use Kwai account posts for KwaiBrasilOficial and compare the returned engagement counts with this project's previous collection, showing changes for matching posts.

How to set up Kwai account posts in Muse Code

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Install Muse Code
    curl -fsSL https://dev.meta.ai/install.sh | bash
  2. Ask Muse to add the server

    Start muse and ask:

    Add the Spiral MCP server at https://api.spiral.ai/mcp
  3. Sign in

    In your terminal, run:

    muse mcp login spiral

Use the Spiral skill

  1. Send Muse Code this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Kwai account posts

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "scrapecreators",
        "model": "scrapecreators/kwai-user-posts",
        "input": {
          "url": "https://www.kwai.com/@KwaiBrasilOficial"
        }
      }'

Then paste one of the prompts above: Muse Code finds Kwai account posts on Spiral, shows the price and runs it.

Kwai account posts providers and prices

Spiral runs Kwai account posts through ScrapeCreators. Open a card for today's price, with every fee included.

ScrapeCreatorsSocial Media
Kwai · User Posts
scrapecreators/kwai-user-posts

Settings you can ask for

Ask Muse Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Counta number

Number of posts to return, max 50

Every API field of Kwai · User Posts is on its tool page: open its card above.

What can you do with Kwai account posts in Muse Code?

Build a Kwai brand post report with captions, media links, and four engagement counters. Add pagination and repeated collections to compare publishing activity and changes in post performance.

Compare campaign posts

Collect a brand account's public posts, select campaign captions, and compare views, likes, comments, and forwards across the returned posts.

Build a caption research brief

Group a public business account's captions by topic and compare the engagement counts for each topic. Include examples for an editor to review.

Measure changes in post performance

Compare repeated collections of the same brand posts to calculate changes in views, likes, comments, and forwards between checks.

Prepare a publishing calendar review

Use the creation timestamps of returned business posts to count publications by day and identify gaps within the collected period.

Create a visual review queue

Pair returned captions with cover links and video links so a content team can review a brand's posts alongside their engagement counts.

Find posts that attract discussion

Rank a public account's returned posts by comment count and comments per view to choose posts for closer editorial review.

Questions about Kwai account posts in Muse Code

Can Muse Code use Kwai account posts?

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run Kwai account posts like any built-in tool.

How much does Kwai account posts cost in Muse Code?

Up to $0.0013 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Muse Code plan is separate.

Do I need a ScrapeCreators account to use Kwai account posts in Muse Code?

No. Spiral runs Kwai account posts on its own ScrapeCreators account. You sign in to Spiral once and never paste a key.

How long does it take to set up Kwai account posts in Muse Code?

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

Does Muse Code wait while Kwai account posts runs?

Kwai account posts runs in the background. Muse Code starts the run, checks on it and gives you the json when it's ready.

Does this include private Kwai posts?

The documented coverage is public posts from a specified Kwai account. Private posts are outside that coverage.

How many Kwai posts can one call return?

The maximum is 50 posts per call. A request for 50 posts does not establish that the account's entire history has been retrieved.

How do I retrieve another page of posts?

Use the continuation cursor from the previous response. The account posts response supplies a next cursor when more results are available.

Which engagement numbers are available?

The documented Kwai post records include four counters: views, likes, comments, and forwards. These support separate rankings for viewing, reactions, discussion, and sharing.

Does the response include video links or just captions?

The account posts response includes media URLs and cover links alongside captions and author information.

Get started

Start using Kwai account posts in Muse Code

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Muse Code:

Set up Muse Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options