Government Legal
India Code logo

India Code API

indiacode.nic.in

India Code legal portal - state and central acts, jurisdictions, and act details.

Actions
4
Category
Government Legal
Login
Not required
Output
JSON

Call the India Code API

Submit a task, then poll the job until it settles. This example runs act_indiacode_nic_in_act_detail.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "act_indiacode_nic_in_act_detail",
    "params": {
      "act_id": "13639"
    }
  }'

4 actions on indiacode.nic.in

Read

  • Act Details

    act_indiacode_nic_in_act_detailread1 credit / call

    Returns an act's full details: title, enactment date, department, and PDF link.

    act_id
    string · required
    view_type
    string
  • Homepage Browse Navigation

    act_indiacode_nic_in_homepage_browse_navigationread1 credit / call

    Returns central and state jurisdictions with browse links for act discovery.

  • State Acts Listing

    act_indiacode_nic_in_state_acts_listingread2 credits / call

    Returns acts for a jurisdiction with titles, enactment dates, and act numbers.

    jurisdiction_id
    string · required
    browse_type
    string · required
    sort_by
    string
    order
    string
    rpp
    string
    etal
    string
    offset
    string
  • State Jurisdiction Browse

    act_indiacode_nic_in_state_jurisdiction_browseread1 credit / call

    Returns a jurisdiction's details and browse options for its acts.

    jurisdiction_id
    string · required

India Code API questions

Is there an API for India Code?
India Code does not offer a public data API for this, but Anakin Wire provides 4 maintained endpoints for indiacode.nic.in. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape India Code data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when indiacode.nic.in changes its markup, Anakin updates the action.
Do I need a India Code account?
No. Every India Code action listed here runs anonymously — no account and no credentials required.
What does the India Code API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Government Legal APIs

All Government Legal sites