Skip to main content
POST
Upload Video from Hashtag
Product: Visual Search Use case: Upload videos and images, auto-index them, then search by natural language, image, or transcript phrase Host: https://api.memories.ai/serve/api/v1 Auth: Authorization: sk-mavi-... (no Bearer prefix)
Discover and import recent posts tagged with one or more hashtags into your Private Video Library. Currently supported on TikTok (YouTube, Instagram, and others coming soon). Related: Import from Hashtag — Public · Import from Post URLs · Import from Creator Profile. Provide hashtag terms as plain strings without the # prefix.

Prerequisites

Request Example

Parameters

hash_tags
array
required
List of hashtag terms to crawl. Plain strings without the # prefix (e.g. ["LVMH", "Dior"]).
scraper_cnt
integer
Number of most recent posts to ingest per hashtag.
folder_id
integer
Optional. Target folder for the uploaded video(s). Omit (or pass -1) to store in your account’s Default folder (created automatically on first use). Pass a folder id from List Folders or Create Folder to store in that folder — it must belong to your account, otherwise the request is rejected.
callback
string
URL to receive POST notifications on task and per-video indexing progress. The server also accepts the alias callback_url.

Response Example

Response Fields

code
string
Business status code. 0000 indicates success.
msg
string
Human-readable status message.
data.taskId
string
Unique identifier for the import task. Use with Get Task Status.

Notes & Limits

  • Platform support: TikTok only at this time.
  • Rate limiting: See Rate limits.
  • Billing: Each request deducts credits per ingested post.

Authorizations

Authorization
string
header
required

Body

application/json
hash_tags
string[]
required
Example:
scraper_cnt
integer
default:2
callback
string<uri>
Example:

"https://your.app/callback"

folder_id
integer

Optional target folder for the upload. Omit or pass -1 for the account's Default folder (auto-created on first use). A positive id must belong to your account.

Example:

671631448308117500

Response

200 - application/json

Successful response

code
Example:

"0000"

msg
string
Example:

"success"

data
success
boolean
Example:

true

failed
boolean
Example:

false