CoreClaw
Store
Pricing
Start Free Trial
Techforce Global

TikTok Data Extractor

Pricing
Try for free
Techforce Global

TikTok Data Extractor

q9w5f5h8/tiktok-data-extractor

Extract comprehensive TikTok data with a single click profiles with detailed metrics (followers, engagement, verification status), video analytics (views, likes, comments, hashtags), and hashtag trending data. Built with anti-detection technology for reliable scraping.

Try for Free
2,000 Free Results

You can access the Worker programmatically from your own applications using the CoreClaw API. Choose your preferred language from the options below. To get started with the CoreClaw API, you'll need a CoreClaw account and your API token — find it in the overview in your Console.

import java.io.IOException;
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.time.Duration;

public class ScraperRunSimple {
    // API URL
    private static final String API_URL = "https://openapi.coreclaw.com/api/v1/scraper/run";

    // Your API KEY
    private static final String API_KEY = "<YOUR_API_KEY>";

    // Request timeout (seconds)
    private static final int TIMEOUT = 30;
    
    public static void main(String[] args) {
        // Build request JSON
        String jsonBody = buildRequestBody();
        
        // Create HttpClient
        HttpClient client = HttpClient.newBuilder()
            .connectTimeout(Duration.ofSeconds(TIMEOUT))
            .build();
        
        // Create HttpRequest
        HttpRequest request = HttpRequest.newBuilder()
            .uri(URI.create(API_URL))
            .timeout(Duration.ofSeconds(TIMEOUT))
            .header("api-key", API_KEY)
            .header("Content-Type", "application/json")
            .POST(HttpRequest.BodyPublishers.ofString(jsonBody))
            .build();

        System.out.println("Sending request to API...");

        try {
            // Send request
            HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());

            // Check HTTP status code
            int statusCode = response.statusCode();
            if (statusCode != 200) {
                System.out.println("Request failed!");
                System.out.println("HTTP error: " + statusCode + " - " + response.body());
                return;
            }

            // Parse response (simple string handling, no external libraries needed)
            String responseBody = response.body();
            System.out.println("Response content: " + responseBody);

            // Extract run_slug (simple parsing)
            String runSlug = extractRunSlug(responseBody);
            if (runSlug != null) {
                System.out.println("Worker run successful!");
                System.out.println("Run ID: " + runSlug);
                System.out.println("You can use this ID to query run status and results");
            } else {
                System.out.println("Request failed!");
                System.out.println("Unable to parse run_slug");
            }
        } catch (IOException e) {
            System.out.println("Request failed!");
            System.out.println("IO error: " + e.getMessage());
        } catch (InterruptedException e) {
            System.out.println("Request failed!");
            System.out.println("Request interrupted: " + e.getMessage());
            Thread.currentThread().interrupt();
        }
    }

    /**
     * Build request JSON body
     */
    private static String buildRequestBody() {
        return """
            {
                "scraper_slug": "01KG2DV66JTCN65ZBTRX3M456E",
                "version": "v1.0.8",
                "input": {
                    "parameters": {
                        "system": {
                            "proxy_region": "",
                            "cpus": 0.125,
                            "memory": 512,
                            "execute_limit_time_seconds": 1800,
                            "max_total_charge": 0,
                            "max_total_traffic": 0
                        },
                        "custom": {
          "queries": [
                    {
                              "string": "viral"
                    },
                    {
                              "string": "trending"
                    }
          ],
          "query_type": "hashtag",
          "resultsPerPage": 10,
          "maxProfilesPerQuery": 10,
          "profileScrapeSections": [
                    "videos"
          ],
          "profileSorting": "latest",
          "searchSection": "all",
          "excludePinnedPosts": false,
          "shouldDownloadVideos": false,
          "shouldDownloadSubtitles": false,
          "shouldDownloadAvatars": false,
          "shouldDownloadCovers": false,
          "shouldDownloadMusicCovers": false,
          "shouldDownloadSlideshowImages": false,
          "scrapeRelatedVideos": false,
          "proxyCountryCode": "None"
}
                    }
                },
                "callback_url": "https://your-domain.com/callback"
            }
            """;
    }

    /**
     * Extract run_slug from response (simple string handling)
     */
    private static String extractRunSlug(String json) {
        try {
            // Find "run_slug":"xxx"
            int startIndex = json.indexOf("\"run_slug\":\"");
            if (startIndex == -1) {
                return null;
            }

            startIndex += "\"run_slug\":\"".length();
            int endIndex = json.indexOf("\"", startIndex);
            if (endIndex == -1) {
                return null;
            }
            return json.substring(startIndex, endIndex);
        } catch (Exception e) {
            return null;
        }
    }
}

Additional Resources

API Reference Documentation
Complete API documentation with all endpoints and parameters

Pricing

Failed results don't count

Rating

5.0

Developer

Techforce Global

Worker Stats

22 Total runs
Success rate: 100.00%
Last updated: Jun 17, 2026

Categories

Social mediaTikTok

Share

You might also like

Explore more popular scrapers from our marketplace

View All Scrapers
TikTok Bulk Video Scraper

TikTok Bulk Video Scraper

by CoreClaw

Extract public TikTok post data via profile URLs, including engagement, viral trends and audio info. One-click CSV/JSON export, zero code required.

4.8
31 runs
From $2.7/1,000 results
TikTok Profile Scraper(by search URL )

TikTok Profile Scraper(by search URL )

by CoreClaw

Extract public TikTok creator profile data using search URLs, including bio, follower counts, content performance and engagement metrics, without platform API limitations. Supports data export, API calls and third-party integrations.

4.6
29 runs
From $2.7/1,000 results
TikTok Comment Scraper(by posts URL)

TikTok Comment Scraper(by posts URL)

by CoreClaw

Extract public TikTok video comment data in batches by entering video URLs, including comment content, user information, like counts, reply lists, etc., outputting in CSV or JSON format. Supports sentiment analysis and user insights with zero-code operation and one-click structured data export.

4.4
28 runs
From $2.7/1,000 results
TikTok Profile Data Scraper (by URL)

TikTok Profile Data Scraper (by URL)

by CoreClaw

By entering URLs, batch extract public TikTok creator profile data, including bio, follower count, content performance, engagement metrics, and more, outputting in CSV or JSON format. Support user analysis and marketing decisions with zero-code operation and one-click export of structured data.

4.3
25 runs
From $2.7/1,000 results
View All Scrapers
CoreClaw

Deploy ready-to-use Workers to accelerate your data collection workflows.

Email: support@coreclaw.com

Resources

  • Quick Start
  • API Reference
  • Leads
  • Affiliate Program

Recommend

  • Store
  • Pricing

Address

Apex DataWorks Limited

UNIT 9, 1/F, THE CLOUD, 111 TUNG CHAU STREET, TAI KOK TSUI, KOWLOON,HONG KONG