Discover/Gov API
live

Gov APIeproc2.bihar.gov.in

Access active, past, and cancelled tenders from Bihar Government's e-Procurement portal. Filter by department, keyword, and status. 5 endpoints covering 500+ live tenders.

Endpoint health
verified 2d ago
get_active_tenders
get_cancelled_tenders
get_past_tenders
get_departments
get_tender_details
5/5 passing latest checkself-healing
Endpoints
5
Updated
26d ago

What is the Gov API?

This API exposes tender data from the Bihar Government e-Procurement portal (eproc2.bihar.gov.in) across 5 endpoints. The get_active_tenders endpoint alone typically returns 500–900+ live tender records in a single call, each containing fields like tender_ref_no, bid_start_date, bid_end_date, pac_amount, and dept_id. Past, cancelled, and detailed tender views are also available, along with a full department directory for filtering.

Try it
Department ID to filter tenders (e.g. '731' for Water Resources Department, '945' for Road Construction Department). Obtain IDs from get_departments endpoint.
Keyword to filter tenders by description or reference number (client-side, case-insensitive)
api.parse.bot/scraper/85caabf7-463f-4ee5-811c-64ff73525248/<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/85caabf7-463f-4ee5-811c-64ff73525248/get_active_tenders?dept_id=538' \
  -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 eproc2-bihar-gov-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.

from parse_apis.bihar_e_procurement_tenders_api import BiharTenders, Tender, TenderDetail, Department

client = BiharTenders()

# List all departments
for dept in client.departments.list(limit=5):
    print(dept.name, dept.department_id, dept.code)

# Get active tenders for a specific department (Water Resources, ID 731)
water = client.department(department_id=731)
for tender in water.active_tenders(text_filter="embankment", limit=3):
    print(tender.tender_id, tender.tender_ref_no, tender.bid_end_date)

# Get past tenders for the department with pagination
for past in water.past_tenders(limit=5):
    print(past.tender_id, past.description, past.status)

# Get cancelled tenders
for cancelled in water.cancelled_tenders(limit=3):
    print(cancelled.tender_id, cancelled.cancel_date, cancelled.cancel_reason)

# Get full tender details by ID
detail = client.tenders.get(tender_id="133124")
print(detail.tender_ref_no, detail.pac_amount, detail.currency)
print(detail.schedule_dates.bid_start_date, detail.schedule_dates.bid_end_date)

# Navigate from a listing tender to its full details
for t in water.active_tenders(limit=1):
    full = t.refresh()
    print(full.nit, full.offer_validity_days, full.min_bid_number)
All endpoints · 5 totalmissing one? ·

Retrieves all currently active/open tenders from Bihar e-Procurement. Returns the full set (typically 500-1000+) in a single response. Supports server-side filtering by department ID and client-side keyword text search against description and reference number. Each tender includes schedule dates, status, and department info but not PAC amount (use get_tender_details for full financial data).

Input
ParamTypeDescription
dept_idstringDepartment ID to filter tenders (e.g. '731' for Water Resources Department, '945' for Road Construction Department). Obtain IDs from get_departments endpoint.
text_filterstringKeyword to filter tenders by description or reference number (client-side, case-insensitive)
Response
{
  "type": "object",
  "fields": {
    "type": "string, always 'active'",
    "total": "integer, total number of matching tenders",
    "tenders": "array of tender objects"
  },
  "sample": {
    "data": {
      "type": "active",
      "total": 1045,
      "tenders": [
        {
          "org_id": 538,
          "status": 3,
          "dept_id": 800,
          "bid_parts": 2,
          "tender_id": 133124,
          "pac_amount": null,
          "cancel_date": null,
          "description": "Selection of Agencies for Providing Outsourced Manpower for Performing and Managing Day to Day Activities related to sanitation work for NAGAR PANCHAYAT SINGHWARA",
          "bid_end_date": "2026-06-11T09:30:00Z",
          "publish_date": "2026-06-05T12:20:39Z",
          "bid_open_date": "2026-06-12T10:00:00Z",
          "cancel_reason": null,
          "org_tender_id": 132929,
          "tender_ref_no": "Re-NIT NO.:  03/2026-27/NP- SINGHWARA",
          "bid_start_date": "2026-06-05T12:30:00Z",
          "tender_type_id": 120,
          "tender_category_id": 101,
          "doc_submission_end_date": "2026-06-12T09:30:00Z",
          "procurement_category_id": 1557
        }
      ]
    },
    "status": "success"
  }
}

About the Gov API

Tender Listings by Status

The API covers three tender lifecycle states. get_active_tenders returns all currently open tenders in one response — no pagination needed — and accepts an optional dept_id to scope results to a single department, plus a text_filter for case-insensitive keyword matching against description and reference number fields. get_past_tenders covers closed tenders and uses server-side pagination via page and page_size parameters, returning a has_more flag to drive iteration. get_cancelled_tenders returns cancelled records including cancel_date and cancel_reason; because the full cancelled dataset runs into many thousands of records, using the dept_id filter is strongly recommended.

Tender Detail and Department Directory

get_tender_details accepts a numeric tender_id (obtained from any listing endpoint) and returns fields not present in list views: pac_amount (Probable Amount of Contract), nit (Notice Inviting Tender text), currency, bid_parts, indent_no, and schedule dates. get_departments returns the full directory of participating Bihar government bodies, each with department_id, parent_id, name, code, and hierarchy — the department_id values from this endpoint map directly to dept_id filter parameters across all listing endpoints.

Filtering and Pagination Notes

For active tenders, text_filter is applied client-side after the full dataset is fetched, so all 500–900+ records are retrieved before filtering. For past and cancelled tenders, text_filter and dept_id interact with server-side logic. The tender_id field returned in listing responses is the key to retrieving full detail via get_tender_details — it is a numeric string (e.g., '130728') rather than the human-readable tender_ref_no.

Reliability & maintenanceVerified

The Gov API is a managed, monitored endpoint for eproc2.bihar.gov.in — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when eproc2.bihar.gov.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 eproc2.bihar.gov.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
2d ago
Latest check
5/5 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 all open Bihar government infrastructure tenders filtered by the Road Construction department (dept_id: '945') to track new bid opportunities.
  • Build a tender alert system by polling get_active_tenders and comparing bid_end_date against today's date for upcoming deadlines.
  • Retrieve pac_amount and nit text via get_tender_details to populate a contract value analysis dashboard.
  • Audit cancelled procurement by pulling get_cancelled_tenders with a specific dept_id and reviewing cancel_reason fields for patterns.
  • Construct a department-to-tender index by combining get_departments output with filtered calls to get_active_tenders for each department_id.
  • Page through historical closed tenders using get_past_tenders with page and page_size to build a local archive for trend analysis.
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 eproc2.bihar.gov.in have an official developer API?+
No. The Bihar Government e-Procurement portal does not publish a documented public API or developer program. This Parse API provides structured access to the same tender data available on the portal.
What does `get_cancelled_tenders` return, and why is filtering recommended?+
It returns cancelled tenders with fields including tender_id, tender_ref_no, description, cancel_date, and cancel_reason. The full unfiltered cancelled dataset spans many thousands of records, so passing a dept_id is strongly recommended to limit response size and latency.
Does `get_tender_details` return bid document attachments or corrigendum notices?+
Not currently. get_tender_details covers fields like pac_amount, nit, currency, bid_parts, indent_no, and schedule dates, but does not include attached documents or corrigendum notices. You can fork this API on Parse and revise it to add an endpoint targeting those resources.
How does `text_filter` behave differently across endpoints?+
For get_active_tenders, filtering is client-side: the full dataset (500–900+ records) is fetched first, then matched case-insensitively against description and tender_ref_no. For get_past_tenders and get_cancelled_tenders, the filter interacts with server-side query logic, so results are scoped before transmission.
Is tender data available for other Indian state e-procurement portals beyond Bihar?+
Not currently. This API covers only eproc2.bihar.gov.in. You can fork it on Parse and revise it to point at another state's e-procurement portal if the data structure is compatible.
Page content last updated . Spec covers 5 endpoints from eproc2.bihar.gov.in.
Related APIs in Government PublicSee all →
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.
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.
bdtender.com API
Search and browse tender listings from Bangladesh's largest tender portal, discovering opportunities by category, organization, and location while accessing real-time tender data and site statistics. Get detailed information on individual tenders, view live postings, and see what was published today to stay updated on the latest bidding opportunities.
mahatenders.gov.in API
Access Maharashtra government tenders from mahatenders.gov.in, browsing them by closing date or by organization with full tender details and pagination support. Find and review procurement opportunities across different government departments in one place.
evergabe-online.de API
Search and retrieve public tender opportunities from Germany's e-Vergabe platform by keywords, contract types, CPV codes, and publication dates. Access detailed tender information and discover the latest procurement opportunities across construction and other sectors.
tenders.etimad.sa API
Browse and search all public Saudi government tenders from the Etimad platform with detailed information including tender specifications and awarding results. Stay updated on procurement opportunities by accessing tender details and award outcomes in one centralized location.
licitacoes-e.com API
Search and analyze Brazilian public tenders from Banco do Brasil, including filtering by buyer and tender status to find procurement opportunities. Get detailed information about specific tenders to track bids, deadlines, and procurement details.
tenders.gov.uk API
Search and access UK government public procurement notices, tenders, and contract opportunities in real-time, with the ability to retrieve detailed notice information and browse standardized classification codes. Get comprehensive procurement data in structured formats to analyze tender patterns and find relevant contracting opportunities.