





API:Scraper
API Endpoint Path
required
TikTok Post Scraper
api/1/tiktok-post-scraper
Call Method
Required
POST
Type of Data Return
JSON
Output structured JSON data on AI SEO Schema
token
required
BUYFROMLO API token. Subscription API is available on /api/1/tiktok-post-scraper, and accessible to on-site APP on /app/1/tiktok-post-scraper as well
rootkeyword
required
Enter the raw content for AI writing. Max.content character ceiling is 2,000
role
required
Enter who writes the schema, such as product specialist, SEO expert, etc
type
required
Select the type of schema. Current available options: FAQ, product snippet
language
Optional
Input the language iso-code, Currently API provides 4 language, which are en, ja, zh-cn, zh-tw. The default language is en
llmversion
Optional
Current avalable model are OpenAI GPT, Palm, Gemini, Llama & Claude
apikey
Optional
Free trial API is required to input a LLM api key. Current available model for free trial user account is OpenAI GPT.
TikTok Post Scraper
api/1/tiktok-post-scraper
Python Code Sample
import requests
apiendpoint = "https://api.buyfromlo.com/api/3/seo-schema"
## Required Arguments & Parameters ##
token = "your buyfromlo token"
originalContent = ""
type = ""
## Optional ##
language = ""
headers={"Authorization": "Bearer " + token}
## Call the api ##
response = requests.post(
apiendpoint,
json={
"originalContent":originalContent,
"type":type,
"language":language
}, headers= headers
)
print(response.status_code)
print(response.json())
JSON Response Sample
{
"schema content response"
}
This API is a powerful tool that allows you to extract data about the most popular posts trending on TikTok. By inputting a hashtag, you can generate a list of up to 20 trending posts related to that keyword. This data can then be used for various social media analysis and marketing purposes.
For each trending TikTok post, the API provides you with the post URL, the profile name of the creator, and the caption or text content of the post.
You can make up to 5 requests per minute to the API.
Yes, there's a limit of 500 requests per month for this API.
The API offers excellent flexibility for developers, as you can integrate it using various languages including cURL, JavaScript, Python, Ruby, PHP, Node.js, Java, .NET, Rust, Go, and Typescript.
You can easily find trending content on specific topics by simply entering the relevant hashtag as the keyword in your API request. For example, using '#fashion' would return trending posts related to fashion.
The API will return a maximum of 20 trending posts per request.
All the data provided by this API is directly sourced from TikTok.com, ensuring you're receiving current and relevant information.
The data is returned in a convenient and easy-to-parse JSON format.
You can find comprehensive information about the terms of service, legal obligations, and acceptable use policies for the TikTok Trending Post Scraper API in the Legal Terms of Service & Condition documentation.