Twitter API: guide to search and filter by language or location

Table of Content
Intro

Twitter is an exceptional social media with tremendous possibilities for companies seeking how to attain leads. That's why Twitter is such a popular social network for marketing analysis. Use our Data365 Twitter API for developers to search for tweets and profiles using keywords or phrases. You can get large amounts of tweet data based on their ID or target public profiles, which is valuable for companies marketing management. Our Twitter API allows you to search by keyword and search by tag with a location and language limits directly in a POST request.

Search settings for our Twitter API

You can search for key phrases in any language, for example, in Malaysian

An example of a POST request:

COPY

https://api.data365.co/v1.1/twitter/search/post/update?keywords=negara&search_type=latest&max_posts=100&access_token=TOKEN

A GET request example to search data by a keyword:

COPY

https://api.data365.co/v1.1/twitter/search/post/posts?keywords=negara&access_token=TOKEN

You can use tag search (just add the # symbol before the word) in any language, for example, in Malaysian

An example of a POST request:

COPY

https://api.data365.co/v1.1/twitter/search/post/update?keywords=%23negara&search_type=latest&max_posts=100&access_token=TOKEN

A GET request example to search data by a hashtag:

COPY

https://api.data365.co/v1.1/twitter/search/post/posts?keywords=%23negara&access_token=TOKEN

You can use both, search by keyword and search by tag with language limits directly in a POST request:

An example of a POST request for searching posts by keyword with language restriction:

COPY

https://api.data365.co/v1.1/twitter/search/post/update?lang=in&search_type=latest&max_posts=100&keywords=cat&access_token=TOKEN

A GET request example to search data by a keyword with a language restriction:

COPY

https://api.data365.co/v1.1/twitter/search/post/posts?lang=in&keywords=cat&access_token=TOKEN

You can use both, search by keyword and search by tag with location limits directly in a POST request:

An example of a POST request for searching posts by keyword limited by location:

COPY

https://api.data365.co/v1.1/twitter/search/post/update?near=Malaysia&within=300km&search_type=latest&max_posts=100&keywords=covid&access_token=TOKEN

A GET request example to search data by a keyword limited by location:

COPY

https://api.data365.co/v1.1/twitter/search/post/posts?near=Malaysia&within=300km&keywords=covid&access_token=TOKEN

Data365 Twitter API is a practical and easy-to-use tool to perform an advanced search by language and location and receive the data you need. We believe the Data365 Twitter API can be instrumental not only in improving the effectiveness of the marketing companies' mechanisms but also in developing the quality of any business as a whole.