Twitter API

There are lots of use cases of Twitter API. Add your home_timeline tweets into your website and Use twitter API to explore content related to your requirements.

Get Tweets

Make GET request on this endpoint to get tweets with required parameters(if any required).

https://v1.nocodeapi.com/<username>/twitter/<token>

- Request Parameters:

ObjectDescription
type[Required] Tweets of users timeline. There are three type: home_timeline, user_timeline, mentions_timeline
count[Optional] Total number of records you want in one request. Default value is 20.
since_id[Optional] Returns results with an ID greater than (that is, more recent than) the specified ID.
max_id[Optional] Returns results with an ID less than (that is, older than) or equal to the specified ID.
trim_user[Optional] When set to either true , t or 1 , each Tweet returned in a timeline will include a user object including only the status authors numerical ID.
exclude_replies[Optional] This parameter will prevent replies from appearing in the returned timeline.
trim_user[Optional] The entities node will not be included when set to false.
include_entities[Optional] The entities node will not be included when set to false.

Make A Tweet

Make POST request on this endpoint to make a tweet with required parameters(if any required).

https://v1.nocodeapi.com/<username>/twitter/<token>

- Request Parameters:

ObjectDescription
status[Required] text that you wanna tweet

Get Followers

Make GET request on this endpoint to get followers with required parameters(if any required).

https://v1.nocodeapi.com/<username>/twitter/<token>/followers

- Request Parameters:

ObjectDescription
user_id[Optional] The ID of the user for whom to return results.
screen_name[Optional] The screen name of the user for whom to return results.
cursor[Optional] Causes the results to be broken into pages. If no cursor is provided, a value of -1 will be assumed, which is the first "page."
count[Optional] The number of users to return per page, up to a maximum of 200. Defaults to 20.
skip_status[Optional] When set to either true, t or 1, statuses will not be included in the returned user objects.
include_user_entities[Optional] The user object entities node will not be included when set to false

Following List

Make GET request on this endpoint to following list with required parameters(if any required).

https://v1.nocodeapi.com/<username>/twitter/<token>/followings

- Request Parameters:

ObjectDescription
user_id[Optional] The ID of the user for whom to return results.
screen_name[Optional] The screen name of the user for whom to return results.
cursor[Optional] Causes the results to be broken into pages. If no cursor is provided, a value of -1 will be assumed, which is the first "page."
count[Optional] The number of users to return per page, up to a maximum of 200. Defaults to 20.
skip_status[Optional] When set to either true, t or 1, statuses will not be included in the returned user objects.
include_user_entities[Optional] The user object entities node will not be included when set to false

Follow

Make POST request on this endpoint to follow with required parameters(if any required).

https://v1.nocodeapi.com/<username>/twitter/<token>/follow

- Request Parameters:

ObjectDescription
screen_name[Required] The screen name of the user to follow.
user_id[Optional] The ID of the user to follow.
follow[Optional] Enable notifications for the target user.

Unfollow

Make POST request on this endpoint to unfollow with required parameters(if any required).

https://v1.nocodeapi.com/<username>/twitter/<token>/unfollow

- Request Parameters:

ObjectDescription
screen_name[Required] The screen name of the user to follow.
user_id[Optional] The ID of the user to follow.

Get Lists

Make GET request on this endpoint to get lists with required parameters(if any required).

https://v1.nocodeapi.com/<username>/twitter/<token>/lists

- Request Parameters:

ObjectDescription
user_id[Optional] The ID of the user for whom to return results.
screen_name[Optional] The screen name of the user for whom to return results.
reverse[Optional] Set this to true if you would like owned lists to be returned first.

List Statuses

Make GET request on this endpoint to list statuses with required parameters(if any required).

https://v1.nocodeapi.com/<username>/twitter/<token>/listStatuses

- Request Parameters:

ObjectDescription
list_id[Optional] The numerical id of the list.
slug[Optional] You can identify a list by its slug instead of its numerical id. If you decide to do so, note that you'll also have to specify the list owner using the owner_id or owner_screen_name parameters.
owner_screen_name[Optional] The screen name of the user who owns the list being requested by a slug.
owner_id[Optional] The user ID of the user who owns the list being requested by a slug .
since_id[Optional] Returns results with an ID greater than (that is, more recent than) the specified ID. There are limits to the number of Tweets which can be accessed through the API. If the limit of Tweets has occured since the since_id, the since_id will be forced to the oldest ID available.
max_id[Optional] Returns results with an ID less than (that is, older than) or equal to the specified ID.
count[Optional] Specifies the number of results to retrieve per "page."
include_entities[Optional] You can omit entities from the result by using include_entities=false
list_id[Optional] When set to either true , t or 1 , the list timeline will contain native retweets

List Members

Make GET request on this endpoint to list members with required parameters(if any required).

https://v1.nocodeapi.com/<username>/twitter/<token>/listMembers

- Request Parameters:

ObjectDescription
list_id[Required] The numerical id of the list.
slug[Optional] You can identify a list by its slug instead of its numerical id. If you decide to do so, note that you'll also have to specify the list owner using the owner_id or owner_screen_name parameters.
owner_screen_name[Optional] The screen name of the user who owns the list being requested by a slug.
owner_id[Optional] The user ID of the user who owns the list being requested by a slug.
count[Optional] Specifies the number of results to return per page (see cursor below). The default is 20, with a maximum of 5,000.
cursor[Optional] Causes the collection of list members to be broken into "pages" of consistent sizes (specified by the count parameter). If no cursor is provided, a value of -1 will be assumed, which is the first "page."

List Subscribers

Make GET request on this endpoint to list subscribers with required parameters(if any required).

https://v1.nocodeapi.com/<username>/twitter/<token>/listSubscribers

- Request Parameters:

ObjectDescription
list_id[Required] The numerical id of the list.
slug[Optional] You can identify a list by its slug instead of its numerical id. If you decide to do so, note that you'll also have to specify the list owner using the owner_id or owner_screen_name parameters.
owner_screen_name[Optional] The screen name of the user who owns the list being requested by a slug.
owner_id[Optional] The user ID of the user who owns the list being requested by a slug.
count[Optional] Specifies the number of results to return per page (see cursor below). The default is 20, with a maximum of 5,000.
cursor[Optional] Causes the collection of list members to be broken into "pages" of consistent sizes (specified by the count parameter). If no cursor is provided, a value of -1 will be assumed, which is the first "page."
include_entities[Optional] When set to either true , t or 1 , each tweet will include a node called "entities".
skip_status[Optional] When set to either true , t or 1 statuses will not be included in the returned user objects.

Add member to List

Make POST request on this endpoint to add member to list with required parameters(if any required).

https://v1.nocodeapi.com/<username>/twitter/<token>/addMemberToList

- Request Parameters:

ObjectDescription
list_id[Required] The numerical id of the list.
slug[Optional] You can identify a list by its slug instead of its numerical id. If you decide to do so, note that you'll also have to specify the list owner using the owner_id or owner_screen_name parameters.
user_id[Required] The ID of the user for whom to return results.
screen_name[Optional] The screen name of the user for whom to return results.
owner_screen_name[Optional] The screen name of the user who owns the list being requested by a slug.
owner_id[Optional] The user ID of the user who owns the list being requested by a slug.

Remove Members

Make POST request on this endpoint to remove members with required parameters(if any required).

https://v1.nocodeapi.com/<username>/twitter/<token>/removeMembersFromList

- Request Parameters:

ObjectDescription
list_id[Required] The numerical id of the list.
slug[Optional] You can identify a list by its slug instead of its numerical id. If you decide to do so, note that you'll also have to specify the list owner using the owner_id or owner_screen_name parameters.
user_id[Required] A comma separated list of user IDs, up to 100 are allowed in a single request.
screen_name[Optional] A comma separated list of screen names, up to 100 are allowed in a single request.
owner_screen_name[Optional] The screen name of the user who owns the list being requested by a slug.
owner_id[Optional] The user ID of the user who owns the list being requested by a slug.

Trends Place

Make GET request on this endpoint to trends place with required parameters(if any required).

https://v1.nocodeapi.com/<username>/twitter/<token>/trendsPlace

- Request Parameters:

ObjectDescription
id[Required] The numeric value that represents the location from where to return trending information for from. Formerly linked to the Yahoo! Where On Earth ID Global information is available by using 1 as the WOEID. Example 1
exclude[Optional] Setting this equal to hashtags will remove all hashtags from the trends list.

Trends Available

Make GET request on this endpoint to trends available with required parameters(if any required).

https://v1.nocodeapi.com/<username>/twitter/<token>/trendsAvailable

Search Tweets

Make GET request on this endpoint to search tweets with required parameters(if any required).

https://v1.nocodeapi.com/<username>/twitter/<token>/search

- Request Parameters:

ObjectDescription
q[Required] A UTF-8, URL-encoded search query of 500 characters maximum, including operators. Queries may additionally be limited by complexity.
lang[Optional] Restricts tweets to the given language, given by an ISO 639-1 code. Language detection is best-effort.
result_type[Optional] Specifies what type of search results you would prefer to receive. There are three types mixed, recent, popular
count[Optional] Total number of records you want in one request. Default value is 20.
until[Optional] Returns tweets created before the given date. Date should be formatted as YYYY-MM-DD. Keep in mind that the search index has a 7-day limit.
since_id[Optional] Returns results with an ID greater than (that is, more recent than) the specified ID.
max_id[Optional] Returns results with an ID less than (that is, older than) or equal to the specified ID.
include_entities[Optional] The entities node will not be included when set to false.