Developer guide
How can I turn TikTok, Instagram Reels, and YouTube videos into structured data?
Send a public social video URL and a question to Mamitsu, then use the returned JSON and source in your app.
One workflow
Send a post URL and a question
To turn a TikTok video, Instagram Reel, or YouTube video into structured data, send its public URL and a question to Mamitsu. Mamitsu uses the video, audio, and caption to answer as JSON. Add an optional JSON Schema if your app needs fixed fields, or let Mamitsu choose the structure from your question.
Choose each post your application should inspect. Ask for the information inside it, such as products shown, steps in a tutorial, or ingredients in a recipe. This workflow extracts content from selected posts; it does not discover posts for you or report account engagement.
Send the URL and prompt to the API reference's extraction endpoint. Use the same prompt and schema for each post when your app needs comparable fields across platforms.
Recorded examples
See the request and result for each source
These are separate recorded API examples. Each guide includes the source, prompt, and stored response, not a new extraction. The Instagram request also shows an illustrative schema.
In the YouTube example, the question asks for a tutorial's steps and tools. The stored result groups five numbered steps with their tools and retains the source URL.
{
"url": "https://www.youtube.com/watch?v=syrDx15PHCs",
"prompt": "What does this video teach? List the steps in order and the tools or materials used in each one."
}{
"extraction_id": "ext_0b56783a-ccd1-4de3-95a7-75f35a5201af",
"data": {
"video_topic": "How to build and monetize a vibe-coded app",
"steps": [
{
"step_number": 1,
"description": "Describe the app idea to the AI",
"tools_used": ["Base 44"]
},
{
"step_number": 2,
"description": "Refine the app's design and functionality",
"tools_used": ["Base 44", "Visual Edit"]
},
{
"step_number": 3,
"description": "Integrate third-party services",
"tools_used": ["Base 44", "Stripe", "Salesforce", "Slack", "Notion", "Google Calendar", "Google Drive", "Gmail", "Google Sheets", "Google Slides"]
},
{
"step_number": 4,
"description": "Publish the app",
"tools_used": ["Base 44"]
},
{
"step_number": 5,
"description": "List the app on the marketplace for monetization",
"tools_used": ["Base 44"]
}
]
},
"source": {
"provider": "youtube",
"url": "https://www.youtube.com/watch?v=syrDx15PHCs"
}
}- TikTok video to JSON: a prompt asks for a creator's claims, examples, and recommendation. Mamitsu chose the result structure without a supplied schema.
- Instagram post to JSON: a recipe request returns ingredients, toppings, and ordered steps. Its schema contract was reconstructed from the recorded response; whether it was sent in the original request is unverified.
- YouTube video to JSON: a tutorial request returns the topic and numbered steps, including tools used, without a supplied schema.
The Instagram capture uses a post URL; the same workflow also accepts public Reel URLs. Results from a new extraction can differ in wording or fields, especially without a schema.
Use the result
Keep the extracted data with its source
The response contains the requested information in data, alongside an extraction ID and a source record with the provider and URL. Your app can store the data with that link, display it to a user, or organize results from several selected posts.
A fixed schema makes field names and types consistent; it does not make an extracted detail true. Posts may omit information, and results can contain mistakes. Review important details against the original before relying on them or sharing them.
For an AI client, connect Mamitsu using the MCP setup guide and ask it about the selected post. For application code, see the JavaScript integration guide.
Related guides