How to create a basic search query to the Twitter API?


beginner alert - first time using a REST API

In my application, I am expecting to receive back a JSON object. My problem: what is the URL in the browser that I enter to receive a JSON object.

For example, also has an API from which I am able to receive JSON data, which can be tested just by going to the following link:

I tried the following URL: “” (given at but I get the following output:
{“errors”:[{“message”:“Bad Authentication data”,“code”:215}]}

How I provide authentication data here?


I tried the URL: “” (provided at, but I get the following response:

{“errors”:[{“message”:“Bad Authentication data”,“code”:215}]}

Do I need to add authentication data? How to?
Thanks for any help here.


Yes, all API require the use of OAuth 1.0A or our OAuth 2-based app-only auth. See [node:114] for an overview on how to use auth with our APIs.