TikTok for Developers · Arazzo Workflow

TikTok Research User Social Graph

Version 1.0.0

Look up a public user by handle, then pull their followers and the accounts they follow.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub AdvertisingAnalyticsAuthenticationContentSocial-MediaVideoArazzoWorkflows

Provider

tiktok-for-developers

Workflows

research-user-social-graph
Resolve a handle, then list its followers and following.
Resolves a TikTok handle to its public profile, then lists the user's followers and the accounts they follow.
3 steps inputs: accessToken, maxCount, socialFields, userFields, username outputs: displayName, followers, following
1
getUserInfo
Resolve the supplied handle to its public profile and follower/following counts.
2
listFollowers
Retrieve the list of followers for the resolved user.
3
listFollowing
Retrieve the list of accounts the resolved user follows.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: TikTok Research User Social Graph
  summary: Look up a public user by handle, then pull their followers and the accounts they follow.
  description: >-
    Maps a public TikTok account's social graph for research using the Research
    API. The workflow first resolves a handle to its public profile and counts,
    then retrieves the user's follower list, and finally retrieves the list of
    accounts the user follows. Together the three steps produce a two-sided edge
    set anchored on the resolved profile. Every step spells out its request
    inline, including the inline Bearer authorization, so the flow can be read
    and executed without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: researchSocialApi
  url: ../openapi/tiktok-for-developers-research-social-api-openapi.yml
  type: openapi
- name: researchUsersApi
  url: ../openapi/tiktok-for-developers-research-users-api-openapi.yml
  type: openapi
workflows:
- workflowId: research-user-social-graph
  summary: Resolve a handle, then list its followers and following.
  description: >-
    Resolves a TikTok handle to its public profile, then lists the user's
    followers and the accounts they follow.
  inputs:
    type: object
    required:
    - accessToken
    - username
    properties:
      accessToken:
        type: string
        description: OAuth 2.0 client-credentials token for the Research API.
      username:
        type: string
        description: TikTok handle to profile (without the @).
      userFields:
        type: string
        description: Comma-separated user fields to return.
        default: display_name,bio_description,avatar_url,is_verified,follower_count,following_count,likes_count,video_count
      socialFields:
        type: string
        description: Comma-separated social user fields to return.
        default: display_name,username
      maxCount:
        type: integer
        description: Maximum number of social users to return per page (1-100).
        default: 100
  steps:
  - stepId: getUserInfo
    description: >-
      Resolve the supplied handle to its public profile and follower/following
      counts.
    operationId: queryResearchUserInfo
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.accessToken
    - name: fields
      in: query
      value: $inputs.userFields
    requestBody:
      contentType: application/json
      payload:
        username: $inputs.username
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      displayName: $response.body#/data/display_name
      followerCount: $response.body#/data/follower_count
      followingCount: $response.body#/data/following_count
  - stepId: listFollowers
    description: >-
      Retrieve the list of followers for the resolved user.
    operationId: listUserFollowers
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.accessToken
    - name: fields
      in: query
      value: $inputs.socialFields
    requestBody:
      contentType: application/json
      payload:
        username: $inputs.username
        max_count: $inputs.maxCount
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      followers: $response.body#/data/user_followers
      hasMore: $response.body#/data/has_more
      cursor: $response.body#/data/cursor
  - stepId: listFollowing
    description: >-
      Retrieve the list of accounts the resolved user follows.
    operationId: listUserFollowing
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.accessToken
    - name: fields
      in: query
      value: $inputs.socialFields
    requestBody:
      contentType: application/json
      payload:
        username: $inputs.username
        max_count: $inputs.maxCount
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      following: $response.body#/data/user_followers
      hasMore: $response.body#/data/has_more
      cursor: $response.body#/data/cursor
  outputs:
    displayName: $steps.getUserInfo.outputs.displayName
    followers: $steps.listFollowers.outputs.followers
    following: $steps.listFollowing.outputs.following

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/tiktok-for-developers-research-user-social-graph-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.