Bharat AddressBharat Address

API

Try the reference API endpoints.

Usage

JavaScript:

const url = 'https://bharataddress.github.io/collections/addresses/items?limit=5';
const resp = await fetch(url);
const data = await resp.json();

Python (requests):

import requests
url = 'https://bharataddress.github.io/collections/addresses/items?limit=5'
r = requests.get(url, timeout=30)
r.raise_for_status()
data = r.json()