threads_search_locations
Search for Threads-supported locations by keyword or coordinates to obtain location IDs for tagging posts.
Instructions
Search Threads-supported locations by keyword or coordinates. Returns a list of location objects (id, name, address, city, country, latitude, longitude, postal_code) whose id can be passed as location_id to the four threads_publish_* tools to tag a post. Either q or both latitude+longitude must be provided. Requires the threads_location_tagging permission; without app approval, the endpoint restricts results to the literal query 'Menlo Park' for testing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Search query (e.g., 'Menlo Park'). Either q or both latitude+longitude must be provided. If your app does not yet have the threads_location_tagging permission, the API restricts results to the literal query 'Menlo Park' for testing. | |
| latitude | No | Latitude in decimal degrees (-90..90). Must be provided together with longitude. | |
| longitude | No | Longitude in decimal degrees (-180..180). Must be provided together with latitude. |