Judgments
India Judgment Courts
GET
/
india
/
judgments
/
courts
India Judgment Courts
curl --request GET \
--url https://corpus-api.onera.app/india/judgments/courts \
--header 'X-API-KEY: <api-key>'import requests
url = "https://corpus-api.onera.app/india/judgments/courts"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://corpus-api.onera.app/india/judgments/courts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"categories": [
{
"count": 123,
"category": "<string>",
"court": "<string>",
"court_level": "<string>"
}
],
"meta": {
"count": 123,
"limit": 123,
"offset": 123,
"next_offset": 123,
"as_of": "2023-11-07T05:31:56Z",
"normalization_version": "<string>",
"provenance": {}
}
}{
"error": "<string>",
"message": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"message": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"message": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"message": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"message": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"message": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"message": "<string>",
"request_id": "<string>"
}Authorizations
Provisioned Corpus API key with the required jurisdiction and operation scopes.
⌘I
India Judgment Courts
curl --request GET \
--url https://corpus-api.onera.app/india/judgments/courts \
--header 'X-API-KEY: <api-key>'import requests
url = "https://corpus-api.onera.app/india/judgments/courts"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://corpus-api.onera.app/india/judgments/courts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"categories": [
{
"count": 123,
"category": "<string>",
"court": "<string>",
"court_level": "<string>"
}
],
"meta": {
"count": 123,
"limit": 123,
"offset": 123,
"next_offset": 123,
"as_of": "2023-11-07T05:31:56Z",
"normalization_version": "<string>",
"provenance": {}
}
}{
"error": "<string>",
"message": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"message": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"message": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"message": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"message": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"message": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"message": "<string>",
"request_id": "<string>"
}