BASED_ provides world-class APIs for creators, businesses & research teams. Access all our datasets through one api key.
Run data anywhere,
in
any tool any website any app any web3 any project
One Key.
Unlimited possibilities.
Build great ideas without the hassle of learning new programming languages. We deploy on RapidAPI so you can build in anything you like, with just your x-rapidapi-key to access all our APIs.
import http.client conn = http.client.HTTPSConnection("weather-by-based-api.p.rapidapi.com") headers = { 'x-rapidapi-key': "your_single_api_key", 'x-rapidapi-host': "weather-by-based-api.p.rapidapi.com" } conn.request("GET", "/v1/weather/?lat=-16.7591487&lon=145.9731097", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
"https://weather-by-based-api.p.rapidapi.com/v1/weather/?lat=-16.7591487&lon=145.9731097", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "GET", CURLOPT_HTTPHEADER => [ "x-rapidapi-host: weather-by-based-api.p.rapidapi.com", "x-rapidapi-key: your_single_api_key" ], ]); $response = curl_exec($curl); $err = curl_error($curl); curl_close($curl); if ($err) { echo "cURL Error #:" . $err; } else { echo $response; }
const data = null; const xhr = new XMLHttpRequest(); xhr.withCredentials = true; xhr.addEventListener('readystatechange', function () { if (this.readyState === this.DONE) { console.log(this.responseText); } }); xhr.open('GET', 'https://weather-by-based-api.p.rapidapi.com/v1/weather/?lat=-16.7591487&lon=145.9731097'); xhr.setRequestHeader('x-rapidapi-key', 'your_single_api_key'); xhr.setRequestHeader('x-rapidapi-host', 'weather-by-based-api.p.rapidapi.com'); xhr.send(data);
"https://weather-by-based-api.p.rapidapi.com/v1/weather/?lat=-16.7591487&lon=145.9731097", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "GET", CURLOPT_HTTPHEADER => [ "x-rapidapi-host: weather-by-based-api.p.rapidapi.com", "x-rapidapi-key: your_single_api_key" ], ]); $response = curl_exec($curl); $err = curl_error($curl); curl_close($curl); if ($err) { echo "cURL Error #:" . $err; } else { echo $response; }
require 'uri' require 'net/http' url = URI("https://weather-by-based-api.p.rapidapi.com/v1/weather/?lat=-16.7591487&lon=145.9731097") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Get.new(url) request["x-rapidapi-key"] = 'your_single_api_key' request["x-rapidapi-host"] = 'weather-by-based-api.p.rapidapi.com' response = http.request(request) puts response.read_body
Build in confidence in the language you’re familiar with
Build apps or websites with world-class datasets
Need dog breed info for a school project? Building a new Pokemon app? Need compliant tax-rates for your ecommerce store? There’s an API for that; and we’ve got it.
Build in confidence on the language you’re familiar with
We deploy all our APIs on RapidAPI’s global infrastructure. With a single auth-key, you can access all our datasets and build with confidence in any language or tool you want – with detailed documentation to help you start.
Privacy-friendly by design
Built from the ground up with privacy in mind and with an open-source core, BASED_ doesn’t collect personal data from our users and our tools are GDPR and CCPA compliant. All data is hosted on a secure server in New York, NY.
I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.