Skip to main content

Search Douyin videos by keyword and get the first video detail with JustOneAPI

Workflow preview

Workflow preview
100%
Search Douyin videos by keyword and get the first video detail with JustOneAPI preview
Open on n8n.io

1. Workflow Overview

Use this n8n workflow to search Douyin videos by keyword and get the first video detail with JustOneAPI. Who’s it for This template is for creator research teams, content operations teams, marketin...

Best for

  • Market Research automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.manualtrigger, n8n-nodes-base.set, n8n-nodes-base.httprequest, n8n-nodes-base.code

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by apisub001.

Original n8n.io source

1.1 Workflow description

Title
Search Douyin videos by keyword and get the first video detail with JustOneAPI
Workflow name
Search Douyin videos by keyword and get the first video detail with JustOneAPI

Use this n8n workflow to search Douyin videos by keyword and get the first video detail with JustOneAPI.

Who’s it for

This template is for creator research teams, content operations teams, marketing teams, analysts, and automation builders who want to search Douyin video content and collect the first matched video detail in a reusable format.

What this workflow does

The workflow starts from a Douyin search keyword and sends a request to the Douyin Video Search V4 endpoint. It keeps the raw search response, extracts the first available video ID from the returned search results, then sends a second request to the Douyin Video Details V2 endpoint.

The workflow keeps both raw API responses for inspection and troubleshooting, and also converts the selected video detail into a cleaner structured output for downstream use.

This makes it useful for content discovery, video research, creator analysis, campaign monitoring, competitor research, content archiving, and automated reporting workflows.

What you need

  • A JustOneAPI token
  • A Douyin search keyword
  • An n8n environment with HTTP Request node support

Set up

  1. Import the workflow into n8n.
  2. Open the Prepare / Config node.
  3. Add your JustOneAPI token.
  4. Enter the Douyin video search keyword.
  5. Adjust optional search filters such as sort type, publish time, duration, page, or search ID if needed.
  6. Run the workflow.

How it works

  1. Prepare the API inputs in one configuration node.
  2. Search Douyin videos through the Video Search V4 endpoint.
  3. Keep the raw search response for inspection and troubleshooting.
  4. Extract the first available aweme_id from the real search response.
  5. Request the selected video detail through the Video Details V2 endpoint.
  6. Keep the raw detail response for debugging and verification.
  7. Return cleaned main video detail data together with auxiliary search data.

Output

The final output can include fields such as:

  • videoId
  • description
  • title
  • caption
  • createTime
  • shareUrl
  • author
  • statistics
  • coverImage
  • playUrls
  • downloadUrls
  • duration
  • music
  • hashtags
  • challenges
  • videoTags
  • status
  • videoControl
  • selectedSearchResult
  • candidateVideos
  • searchSummary
  • rawSearchResponse
  • rawDetailResponse

Notes

  • This workflow is built around the Douyin Video Search V4 and Video Details V2 endpoints.
  • It only fetches the detail of the first available video from the search results.
  • It preserves raw search and detail responses so you can inspect the original API data.
  • You can connect the final output to Google Sheets, Airtable, Notion, databases, alerts, dashboards, or other n8n workflows.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - Start Workflow Manually

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 10 - Set API and Search Parameters

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 11 - Fetch Douyin Video Search Results

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 12 - Store Raw Search Results

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 13 - Extract Video IDs from Search

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 14 - Store Extracted Video IDs

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 15 - Fetch First Video Details

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 16 - Build Clean Video Detail

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 17 - Store Final Video Details

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

3. Summary Table

Workflow Search Douyin videos by keyword and get the first video detail with JustOneAPI
Complexity advanced
Nodes 17
Categories Market Research
Author apisub001
Published 21 May 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/15878/15878.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Search Douyin videos by keyword and get the first video detail with JustOneAPI do?

Use this n8n workflow to search Douyin videos by keyword and get the first video detail with JustOneAPI. Who’s it for This template is for creator research teams, content operations teams, marketin...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Market Research use case.