> ## Documentation Index
> Fetch the complete documentation index at: https://api-tools.memories.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Import from Hashtag — Public

> Discover and ingest recent posts tagged with one or more hashtags into the shared Public Video Library.

<Info>
  **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)
</Info>

Discover and import recent posts tagged with one or more hashtags into the **Public Video Library** — shared with all Memories.ai users. Currently supported on **TikTok**.

<Warning>
  Videos contributed to the public library are **permanent and visible to all users**. Use [Import from Hashtag — Private](/visual-search/upload-from-hashtag) if you want a private copy instead.
</Warning>

## Prerequisites

* You have [created a memories.ai API key](/visual-search/create-your-key).

## Request Example

```python theme={null}
import requests

headers = {"Authorization": "sk-mavi-..."}
payload = {
    "hash_tags": ["LVMH", "Dior"],
    "scraper_cnt": 5
}
response = requests.post(
    "https://api.memories.ai/serve/api/v1/scraper_tag_public",
    json=payload,
    headers=headers
)
print(response.json())
```

## Parameters

<ParamField body="hash_tags" type="array" required>
  List of hashtag terms (no `#` prefix).
</ParamField>

<ParamField body="scraper_cnt" type="integer">
  Number of most recent posts to ingest per hashtag.
</ParamField>

## Response Example

```json theme={null}
{
    "code": "0000",
    "msg": "success",
    "data": {
        "taskId": "31b0fccb-d6f9-4135-922d-1e8828499812"
    },
    "success": true,
    "failed": false
}
```

## Response Fields

<ResponseField name="code" type="string">Business status code. `0000` indicates success.</ResponseField>
<ResponseField name="msg" type="string">Human-readable status message.</ResponseField>
<ResponseField name="data.taskId" type="string">Unique identifier for the import task. Use with [Get Task Status](/visual-search/get-task-status).</ResponseField>

## Notes & Limits

* **Permanent contribution**: Videos uploaded here are visible to all users and cannot be deleted.
* **Platform support**: TikTok only at this time.
* **Rate limiting**: See [Rate limits](/visual-search/rate-limits).
