Discover/Nic API
live

Nic APIegazette.nic.in

Access recent Extraordinary and Weekly Indian gazette publications, browse by category, and filter the full directory back to 1926 via 3 structured endpoints.

Endpoint health
verified 4d ago
get_recent_gazettes
get_gazettes_by_category
get_gazette_directory
3/3 passing latest checkself-healing
Endpoints
3
Updated
18d ago

What is the Nic API?

The eGazette API provides structured access to official Indian Government Gazette publications across 3 endpoints, returning fields like ministry, department, subject, gazette ID, issue date, and file size. The get_recent_gazettes endpoint retrieves the latest Extraordinary and Weekly gazette listings from the India eGazette portal homepage, while get_gazettes_by_category and get_gazette_directory enable filtered access by category, part/section, and year.

Try it

No input parameters required.

api.parse.bot/scraper/4ab86125-80f1-43b5-8008-7de7c06ebde9/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/4ab86125-80f1-43b5-8008-7de7c06ebde9/get_recent_gazettes' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace egazette-nic-in-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""India eGazette API — browse official gazette publications from egazette.gov.in."""
from parse_apis.India_eGazette_API import EGazette, CategoryId, GazetteCategory, CategoryNotFound

client = EGazette()

# List the most recent extraordinary gazettes from the homepage.
for gazette in client.gazettes.list_recent(limit=3):
    print(gazette.ministry, gazette.publish_date, gazette.gazette_id)

# Search the gazette directory for Extra Ordinary gazettes in 2026.
result = client.gazettes.search(category=GazetteCategory.EXTRA_ORDINARY, year="2026", limit=1).first()
if result:
    print(result.ministry, result.subject, result.file_size)

# List categorized uploads — Bills & Acts (category 1).
for item in client.category_gazettes.list(category_id=CategoryId.BILLS_AND_ACTS, limit=3):
    print(item.ministry___organization, item.part_and_section, item.gazette_id)

# Typed error handling for an invalid category.
try:
    for item in client.category_gazettes.list(category_id=CategoryId.LAND_ACQUISITION, limit=2):
        print(item.subject, item.publish_date)
except CategoryNotFound as exc:
    print(f"Category error: {exc}")

print("exercised: gazettes.list_recent / gazettes.search / category_gazettes.list / CategoryNotFound")
All endpoints · 3 totalmissing one? ·

Fetches the homepage listing of the most recent Extra Ordinary and Weekly Gazettes published on the India eGazette portal. Returns up to 4 extraordinary and 3 weekly gazette entries currently displayed on the homepage. No parameters needed — always returns the latest publications.

Input

No input parameters required.

Response
{
  "type": "object",
  "fields": {
    "weekly": "array of weekly gazette objects with ministry, subject, publish_date, gazette_id, and file_size",
    "extraordinary": "array of extraordinary gazette objects with ministry, subject, publish_date, gazette_id, and file_size"
  },
  "sample": {
    "data": {
      "weekly": [
        {
          "subject": "This Gazette may contains Multiple Subjects",
          "ministry": "This Gazette may contains Multiple Ministries",
          "file_size": "0.55 MB",
          "gazette_id": "CG-DL-W-06062026-273207",
          "publish_date": "06-Jun-2026"
        }
      ],
      "extraordinary": [
        {
          "subject": "JAN VISHWAS,....",
          "ministry": "Ministry of Defence",
          "file_size": "0.34 MB",
          "gazette_id": "CG-DL-E-11062026-273325",
          "publish_date": "11-Jun-2026"
        },
        {
          "subject": "Appoints Two Non Official Member in PPVFRA...",
          "ministry": "Ministry of Agriculture and Farmers Welfare",
          "file_size": "0.57 MB",
          "gazette_id": "CG-DL-E-11062026-273324",
          "publish_date": "11-Jun-2026"
        }
      ]
    },
    "status": "success"
  }
}

About the Nic API

What the API Returns

The eGazette API exposes structured data from egazette.nic.in, the official portal for Indian Government Gazette publications. Each response includes consistent fields across endpoints: ministry, department, office, subject, category, part_and_section, issue_date, publish_date, gazette_id, and file_size. These fields map directly to how the portal organizes official notifications, acts, land acquisition orders, and election documents.

Endpoint Details

get_recent_gazettes requires no parameters and returns up to 4 extraordinary and 3 weekly gazette entries currently shown on the portal homepage — useful for polling for new publications. get_gazettes_by_category accepts a category_id string (e.g. 1 for Bills & Acts, 2 for Election & Bye-Election, 3 for Land Acquisition, 4 for Delhi notices) and returns the most recent uploads for that category, including the s_no serial number and office field not present in all endpoints.

Directory Filtering

get_gazette_directory accepts three optional parameters — year (1926–2026), category ('Extra Ordinary' or 'Weekly'), and part_section (a numeric code whose valid values depend on the selected category) — and returns the first page of up to 15 matching gazette entries plus a total integer indicating how many records match the query. This makes it suitable for building pagination logic or scoping historical lookups to a specific gazette part.

Historical Coverage

The directory endpoint supports year values back to 1926, giving access to decades of official gazette history. The gazette_id field returned across all endpoints can be used as a stable identifier to reference or look up specific publications on the source portal.

Reliability & maintenanceVerified

The Nic API is a managed, monitored endpoint for egazette.nic.in — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when egazette.nic.in changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official egazette.nic.in API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
4d ago
Latest check
3/3 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Monitor new Bills and Acts by polling get_recent_gazettes for changes in the extraordinary gazette listing
  • Build a land acquisition alert system using get_gazettes_by_category with category_id 3 to surface new orders
  • Audit election-related notifications by filtering category_id 2 for Bye-Election gazette entries
  • Retrieve historical gazette records for a specific year and part/section using get_gazette_directory with the year parameter
  • Cross-reference ministry-specific notifications by filtering directory results by the ministry field
  • Count total gazette publications for a given year and category using the total field from the directory endpoint
  • Compile a structured archive of Weekly gazettes by iterating get_gazette_directory with category set to 'Weekly'
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does egazette.nic.in offer an official developer API?+
No. The National Informatics Centre's eGazette portal does not publish a public developer API or documented data feed. This Parse API provides structured access to the same gazette data the portal exposes.
What does get_gazette_directory return and how do I filter it?+
It returns up to 15 gazette entries per call along with a total count of all matching records. You can filter by year (any 4-digit year from 1926 to 2026), category ('Extra Ordinary' or 'Weekly'), and part_section (a numeric code). All three parameters are optional and default to the current year and 'Extra Ordinary' if omitted. The valid part_section values depend on which category you select.
Does the API return the full text or PDF content of gazette documents?+
No. The API returns metadata fields — ministry, department, subject, gazette_id, issue_date, publish_date, part_and_section, and file_size — but not the document content itself. The gazette_id can be used to reference the specific publication on the eGazette portal. You can fork this API on Parse and revise it to add an endpoint that fetches or links directly to gazette document files.
How many results does get_gazettes_by_category return?+
It returns the most recent uploads for the requested category — the count reflects what the portal's recent uploads page currently shows for that category ID. There is no pagination parameter on this endpoint. The API covers four known category IDs (Bills & Acts, Election & Bye-Election, Land Acquisition, and Delhi notices). You can fork it on Parse and revise to add support for additional category IDs if the portal exposes more.
Is gazette data from state governments or union territories included?+
The API covers publications from the central Indian government gazette portal at egazette.nic.in. State and union territory gazette portals are separate systems and are not currently included. You can fork this API on Parse and revise it to add endpoints targeting specific state gazette sources.
Page content last updated . Spec covers 3 endpoints from egazette.nic.in.
Related APIs in Government PublicSee all →
cro.ie API
Access Irish company statutory filings and registration documents by browsing CRO Gazette archives and retrieving PDFs for new company registrations, annual returns, and other official filings. Find gazette issues by year and get links to the latest published documents from the Companies Registration Office.
monitoruloficial.ro API
Access the Romanian Official Gazette to retrieve published issues by date, browse legislative modifications, search professional announcements, and find products in the online bookstore. Check the eMonitor calendar and search across the entire portal to stay updated on official Romanian government publications and legal changes.
indiankanoon.org API
indiankanoon.org API
tenders.gov.in API
Search and monitor current government tenders from India's Central Public Procurement Portal and GePNIC systems, filtering by organizations and accessing detailed tender information. Stay updated on the latest procurement opportunities and bids from Indian government agencies in one centralized location.
eprocurement.gov API
Monitor India's public procurement opportunities by accessing active tenders, bids closing today, global tenders, high-value contracts, and cancelled tenders from the Central Public Procurement Portal. Search tender details, browse participating organizations, and track real-time procurement statistics to stay informed on government contracting opportunities.
ibef.org API
Access comprehensive reports on Indian industries and states, browse the latest economic news, and get quick facts about India's economy all in one place. Search across thousands of resources to find detailed insights on specific sectors, regions, and economic trends.
examplecourt.gov API
Search and retrieve court judgments, case details, and legal metadata from a national court reporting portal, with support for advanced filtering by court and case category. Access complete case information including full text and browse paginated results to find relevant legal precedents.
magzter.com API
Browse and search millions of magazines, newspapers, and stories from Magzter's digital library, then dive into specific publications, issues, and articles by category. Discover detailed information about any magazine or newspaper edition to find exactly what you want to read.