> For the complete documentation index, see [llms.txt](https://seoden2136.gitbook.io/tweet-js/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://seoden2136.gitbook.io/tweet-js/methods/search.md).

# Search()

## Search for a query on Twitter

To do a search you can do :

```
bot.search('#npm', { lang:'en', limit: 1}).then(r => {
    
console.log(r);
});
```

{% hint style="info" %}
&#x20;add the limit option to limit how many results are there, add lang to filter the results to a specific language&#x20;
{% endhint %}
