Discover/Gov API
live

Gov APIbuy.nsw.gov.au

Access NSW Government tender opportunities, contract award notices, and supplier hub data from buy.nsw.gov.au via a structured REST API.

Endpoint health
verified 6d ago
list_opportunity_categories
list_notices
get_opportunity_details
get_supplier_hub
list_opportunities
7/7 passing latest checkself-healing
Endpoints
7
Updated
13d ago

What is the Gov API?

This API exposes 7 endpoints covering NSW Government procurement data from buy.nsw.gov.au, including open tender opportunities, contract award notices (CAN), and standing offer notices (SON). The list_opportunities endpoint returns paginated results filterable by keyword, opportunity type (RFT, RFQ, RFP), and sort order, while get_opportunity_details delivers full metadata, content sections, and associated file links for any individual tender by UUID.

Try it
Page number for pagination.
Sort order for results.
Search keyword to filter opportunities by title or description.
Comma-separated opportunity types to filter by (e.g. RFT, RFQ, RFP, EOI).
api.parse.bot/scraper/bc2c3e8a-2ae7-4cf7-a718-71f6003213da/<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/bc2c3e8a-2ae7-4cf7-a718-71f6003213da/list_opportunities?page=1&sort=LastUpdated' \
  -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 buy-nsw-gov-au-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.

"""Walkthrough: Buy NSW Government Procurement API — bounded, re-runnable."""
from parse_apis.Buy_NSW_Government_Procurement_API import (
    BuyNSW, NotFoundError
)

client = BuyNSW()

# Search open tender opportunities filtered by keyword, capped at 5 items.
for opp in client.opportunities.search(query="construction", limit=5):
    print(opp.title, "|", opp.agency, "|", opp.closing_date)

# Get the most recently updated opportunities as a quick snapshot.
top_opp = client.opportunities.top(limit=1).first()
if top_opp:
    print(top_opp.title, top_opp.type, top_opp.category)

# Search contract award notices, capped at 3 items.
for notice in client.notices.search(query="transport", limit=3):
    print(notice.title, notice.agency, notice.publish_date, notice.contract_period)

# List procurement categories and their counts.
for cat in client.categories.list(limit=5):
    print(cat.label, cat.value, cat.opportunity_count)

# Get supplier hub info with typed error handling.
try:
    hub = client.supplier_hubs.get()
    print(hub.text[:120])
    for link in hub.links[:3]:
        print(link.text, link.url)
except NotFoundError as exc:
    print(f"Hub not found: {exc}")

print("exercised: opportunities.search / opportunities.top / notices.search / categories.list / supplier_hubs.get")
All endpoints · 7 totalmissing one? ·

Retrieve a paginated list of open tender opportunities. Supports filtering by keyword and opportunity type. Results are sorted by last updated date by default. Each page returns up to 8 items.

Input
ParamTypeDescription
pageintegerPage number for pagination.
sortstringSort order for results.
querystringSearch keyword to filter opportunities by title or description.
typesstringComma-separated opportunity types to filter by (e.g. RFT, RFQ, RFP, EOI).
Response
{
  "type": "object",
  "fields": {
    "items": "array of opportunity objects with title, opportunity_id, url, description, agency, type, category, closing_date, status",
    "current_page": "integer, current page number",
    "total_results": "integer, total number of matching opportunities"
  },
  "sample": {
    "data": {
      "items": [
        {
          "url": "https://buy.nsw.gov.au/prcOpportunity/AFA9A21A-9428-4FF9-B7A2C3D3CD29049D",
          "type": "Request for tender (RFT)",
          "title": "Hurstville West - Laydown Maintenance Area - Design Services",
          "agency": "Transport Infrastructure Projects",
          "status": "",
          "category": "Professional Services (excl Consultancies)",
          "description": "Transport for NSW has a requirement to engage a Contractor to provide design services.",
          "closing_date": "23-Jun-2026 15:00",
          "opportunity_id": "AFA9A21A-9428-4FF9-B7A2C3D3CD29049D"
        }
      ],
      "current_page": 1,
      "total_results": 145
    },
    "status": "success"
  }
}

About the Gov API

Tender Opportunities

The list_opportunities endpoint returns an array of opportunity objects, each with fields including title, opportunity_id, agency, type, category, closing_date, and status. You can filter by query (keyword matching title and description), types (comma-separated values like RFT, RFQ, RFP), and page for pagination, with total_results returned alongside each response. For a zero-parameter snapshot, get_top_opportunities returns the 10 most recently updated open opportunities. To drill into a specific tender, pass its UUID to get_opportunity_details, which returns structured sections (description, scope, assessment_criteria), a details object (agency, type, category, locations), and an array of files with names and download URLs.

Contract Notices

list_notices covers both Contract Award Notices (CAN) and Standing Offer Notices (SON). Filter by noticeTypes, categories (comma-separated slugs such as building-and-property or healthcare), or a free-text query. Each notice object includes title, notice_id, agency, publish_date, and contract_period. Passing a notice UUID to get_notice_details returns the full details object, which includes estimated_amount_payable_inc_gst — useful for spend analysis.

Categories and Supplier Hub

list_opportunity_categories returns every procurement category available as a filter, with a human-readable label, a value slug, and an opportunity_count indicating how many open tenders sit in each category. This is useful for building category-driven dashboards without pre-hardcoding slugs. get_supplier_hub returns the main text content and a structured links array from the Supplier Hub landing page, covering navigation resources aimed at both suppliers and buyers.

Reliability & maintenanceVerified

The Gov API is a managed, monitored endpoint for buy.nsw.gov.au — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when buy.nsw.gov.au 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 buy.nsw.gov.au 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
6d ago
Latest check
7/7 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 open tenders by agency and type to automate business development alerts
  • Track closing_date fields across open opportunities to surface expiring tenders before deadlines
  • Aggregate estimated_amount_payable_inc_gst from contract award notices for government spend analysis
  • Build a category-filtered procurement dashboard using opportunity_count from list_opportunity_categories
  • Download tender documents programmatically using file URLs returned by get_opportunity_details
  • Identify standing offer notice activity in specific categories like healthcare or building-and-property
  • Compare contract award frequency by agency using notice publisher and type fields from list_notices
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 buy.nsw.gov.au have an official developer API?+
buy.nsw.gov.au does not publish a documented public developer API. The NSW Government does expose some procurement data through the NSW Data.NSW open data portal (data.nsw.gov.au), but it does not provide structured programmatic access to live tender opportunities and contract notices in the format this API delivers.
What does get_opportunity_details return beyond what list_opportunities provides?+
get_opportunity_details adds three things list_opportunities omits: a sections object with named content blocks (description, scope, assessment_criteria), a files array containing downloadable document names and URLs, and a fuller details object that includes location metadata. list_opportunities returns summary fields only — title, agency, type, category, closing_date, status.
Can I filter opportunities by agency or closing date range?+
The current endpoints support filtering by keyword (query), opportunity type (types), and procurement category (via list_opportunity_categories slugs fed to the search). Filtering by specific agency name or closing date range is not currently exposed as a dedicated parameter. The API covers keyword and type-based filtering. You can fork it on Parse and revise it to add agency-level or date-range filter parameters.
Does the API cover historical closed or awarded tenders, or only active ones?+
list_opportunities returns open/active tender opportunities; get_top_opportunities is also scoped to open opportunities. Contract award notices via list_notices cover awarded contracts, but historical closed tenders that never progressed to a notice are not currently included. You can fork the API on Parse and revise it to add an endpoint targeting archived or closed opportunity records.
How does pagination work across list_opportunities and list_notices?+
Both endpoints accept an integer page parameter and return current_page and total_results in every response. There is no explicit page_size parameter — page size is fixed by the source. Divide total_results by the item count in a single response to calculate the number of pages needed to iterate the full result set.
Page content last updated . Spec covers 7 endpoints from buy.nsw.gov.au.
Related APIs in Government PublicSee all →
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.
civicinfo.bc.ca API
Search open bid opportunities and tenders from BC municipalities, with details including title, closing date, organization, category, and location.
biddingo.com API
Search and filter government procurement bids and RFPs across different regions and categories to find relevant opportunities. Access detailed project descriptions and bid information to help you discover and evaluate contracting opportunities that match your business needs.
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.
offenevergaben.at API
Search and explore Austrian public procurement contracts, including details about contracting authorities, suppliers, and product categories. Track government spending by accessing comprehensive information about individual contracts, the organizations that issue them, and the vendors that supply them.
doffin.no API
Search for public procurement tenders across Norway and retrieve detailed information about bidding opportunities, including tender specifics, CPV category codes, and location data. Stay informed about government contracts and procurement notices from the official Norwegian national database.
vergabe.rib.de API
Search and retrieve tender information, award notices, and EU prior information from the RIB eVergabe platform to stay updated on procurement opportunities and contract awards. Get detailed tender specifications and the latest news to monitor bidding opportunities and market developments.
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.