Skip to the content

localcontracts.searchAvailable

US city and state contracts

Contracts and tender notices: what is bought, stage, agency, supplier, amount, publication, deadline and contract dates, and a link where there is one.

Give it a source, and optionally words, a supplier, an agency, a stage or dates.

1 unit a run, for runs that return data. Runs that fail cost nothing. How units work

Counted
1 unit a run
Inputs
9, 1 required
Record
22 fields
A run takes
up to 5 minutes
Records kept
7 days
Measured
its success, on the status page

POST/v1/scrapers/localcontracts.search/runs

{
"input": {
"source": "chicago",
"date_from": "2026-10-01",
"max_results": 3
}
}

sent, and answered

a record of the run22 fields

{
source: "chicago"
source_name: "City of Chicago"
state: "IL"
notice_id: "373716"
revision: "0"
reference: null
url: null
stage: "award"
title: "DFSS-ECBG-CS-CEL:"
… 13 more fields

ok1 unit a run

A record this scraper returned for this input. The first 9 of its 22 fields are set down here; the whole record is below.

data.cityofchicago.org
The page US city and state contracts reads, as a browser shows it
The page this scraper reads, photographed in a browser on 23 November 2026. It belongs to its publisher, who has no part in this service.

What it is used for

Find local bids
Read New York City's open notices by stage and keep each deadline_date.
See who sells to a city
Rank each supplier by amount and agency in Chicago's contracts.
Time a renewal
Keep a contract's end_date and reach the agency before it is bid again.

What you send

A source, and optionally words, a supplier, an agency, a stage or dates. These are its 9 inputs, as its schema has them.

sourcestring Required
chicago, new_york_city or mta.
querystring Optional
Only rows whose title holds this text.
supplierstring Optional
Only rows whose supplier's name holds this text.
agencystring Optional
Only rows of a department or agency whose name holds this text.
stagestring Optional
tender, intent_to_award, award or any. Only new_york_city publishes open tenders.Default any
date_fromstring Optional
Only rows dated on or after this day.
date_tostring Optional
Only rows dated on or before this day.
max_resultsinteger Optional
Rows a page, newest first, up to 200.Default 25
offsetinteger Optional
How many rows to skip, to read the next page.Default 0

A request, ready to send

It starts a run with the input shown at the top of this page, waits up to 60 seconds for it, and reads its records. Put your key in the variable it reads.

# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/localcontracts.search/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"source":"chicago","date_from":"2026-10-01","max_results":3}}'

# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
from enrichednow import EnrichedNow

client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY

# Start a run, wait for it to end, and get its records
result = client.scrape("localcontracts.search", {
    "source": "chicago",
    "date_from": "2026-10-01",
    "max_results": 3,
})
print(result.run.id, result.run.status, result.run.record_count)

# Read its records: pages are fetched as you go
for record in result.records:
    print(record)

Install it with pip install enrichednow, then save as run.py and run python3 run.py

import EnrichedNow from "enrichednow";

const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY

// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("localcontracts.search", {
  source: "chicago",
  date_from: "2026-10-01",
  max_results: 3,
});
console.log(run.id, run.status, run.record_count);

// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);

Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

package main

import (
	"context"
	"fmt"
	"log"
	"time"

	enrichednow "github.com/enrichednow/enrichednow-go"
)

func main() {
	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
	if err != nil {
		log.Fatal(err)
	}
	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
	defer cancel()

	// Start a run, wait for it to end, and get its records
	run, records, err := client.Scrape(ctx, "localcontracts.search", map[string]any{"source": "chicago", "date_from": "2026-10-01", "max_results": 3})
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(run.ID, run.Status, run.RecordCount)

	// Read its records: pages are fetched as you go
	for records.Next() {
		fmt.Println(string(records.Current()))
	}
	if err := records.Err(); err != nil {
		log.Fatal(err)
	}
}

Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;

public class Run {
    public static void main(String[] args) {
        EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY

        // Start a run, wait for it to end, and get its records
        ScrapeResult result = client.scrape("localcontracts.search", Map.of("source", "chicago", "date_from", "2026-10-01", "max_results", 3));
        System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());

        // Read its records: pages are fetched as you go
        for (Map<String, Object> record : result.records()) {
            System.out.println(record);
        }
    }
}

Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

enrichednow run localcontracts.search --input source=chicago --input date_from=2026-10-01 --input max_results=3

Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

What comes back

Contracts and tender notices: what is bought, stage, agency, supplier, amount, publication, deadline and contract dates, and a link where there is one. A record has 22 fields. One we could not read is null, never an empty string or a zero.

A record localcontracts.search returned
{
  "source": "chicago",
  "source_name": "City of Chicago",
  "state": "IL",
  "notice_id": "373716",
  "revision": "0",
  "reference": null,
  "url": null,
  "stage": "award",
  "title": "DFSS-ECBG-CS-CEL:",
  "notice_type": "DELEGATE AGENCY",
  "category": null,
  "method": null,
  "status": null,
  "agency": "DEPARTMENT OF FAMILY AND SUPPORT SERVICES",
  "supplier": "REACH FOR THE STARS CHILDCARE ACADEMY INC.",
  "amount": 119552,
  "published_date": "2026-11-21",
  "deadline_date": null,
  "start_date": null,
  "end_date": null,
  "source_url": "https://data.cityofchicago.org/d/rsxa-ify5",
  "fetched_at": "2026-11-24T19:54:15.834536Z"
}

The scraper returned this record for the input above, reading a saved copy of the page, not the live site.

The fields of a record

sourcestring
The source's key: chicago, new_york_city or mta.
source_namestring
The source's name.
statestring
The US state, as two letters.
notice_idstring
The contract's or the notice's number at the source.
revisionstring or null
The contract's revision, where the source numbers them (Chicago: 0 for the contract as awarded, then one a change), so notice_id and revision together name one row.
referencestring or null
The procurement's reference (PIN), where the source has one.
urlstring or null
The notice's or contract's own page or document, where the source gives one.
stagestring
tender (open for bids), intent_to_award, or award (a contract made).
titlestring or null
What is being bought.
notice_typestring or null
The type of contract or notice, in the source's words.
categorystring or null
The category, where the source has one.
methodstring or null
How it is or was procured, in the source's words.
statusstring or null
The contract's status, where the source has one.
agencystring or null
The department or agency buying.
supplierstring or null
The business awarded it.
amountnumber or null
The amount, in US dollars.
published_datestring or null
The day it was approved, awarded or published, YYYY-MM-DD.
deadline_datestring or null
The day bids are due, YYYY-MM-DD, for an open tender.
start_datestring or null
The contract's start, YYYY-MM-DD.
end_datestring or null
The contract's end, YYYY-MM-DD.
source_urlstring
The source's public page for this data.
fetched_atdatetime
When the portal was asked, in UTC.

The whole schema, in its reference

Units and limits

Counted per request
Billed per request: a run that returns data costs 1 unit, however many records it returns.
A miss costs nothing
A run that fails, that meets something not supported yet, or that you cancel costs nothing. You pay for runs that return data.
What bounds a run
A run may take up to 5 minutes. Its records are read in pages of up to 1,000 and are kept for 7 days.

What it does not do

  • The MTA reports its procurements once a year, so its newest rows can be months old.
  • A filter a source does not publish ends as unsupported, and costs nothing.

The bounds its schema sets

source
chicago, new_york_city, mta
stage
any, tender, intent_to_award, award; any unless you say otherwise
max_results
1 to 200; 25 unless you say otherwise
offset
0 to 50,000; 0 unless you say otherwise

Scraper API pricing: how units workThe five ways a run ends

Questions

What does US city and state contracts return?

Contracts and tender notices: what is bought, stage, agency, supplier, amount, publication, deadline and contract dates, and a link where there is one. A record has 22 fields, among them source, source_name, state, notice_id, revision and reference. A value that could not be read is null, never an empty string or a zero.

What do I send?

A source, and optionally words, a supplier, an agency, a stage or dates. The input source is required. Optional: query, supplier, agency, stage, date_from, date_to, max_results and offset.

How is it counted?

Billed per request: a run that returns data costs 1 unit, however many records it returns. A run that fails, that meets something not supported yet, or that you cancel costs nothing. The first 1,000 units each month are free.

How much does one run return?

Its schema sets these bounds: source chicago, new_york_city, mta; stage any, tender, intent_to_award, award (any unless you say otherwise); max_results 1 to 200 (25 unless you say otherwise); offset 0 to 50,000 (0 unless you say otherwise). A run may take up to 5 minutes.

What does it not do?

The MTA reports its procurements once a year, so its newest rows can be months old. A filter a source does not publish ends as unsupported, and costs nothing.

How long are the records kept, and in what format do they come?

Records are kept for 7 days after the run ended, and read in pages of up to 1,000. They come as JSON, as NDJSON with one record a line, or as CSV with a column for each field.

Can an AI assistant call it?

Yes. Through the EnrichedNow MCP server an assistant calls the tool run_scraper with the scraper_id localcontracts.search and the same input. It costs what the same API call costs.

Used in this playbook

A playbook runs US city and state contracts as one of its steps and hands back the finished list. Its runs of this scraper cost what they cost here, and the playbook adds nothing.

  • Public sector

    Tender Alerts

    New public tenders that match your words and codes, from the EU, UK and US, with buyer, deadline, value and link.

US city and state contracts

Contracts and tender notices of US cities and state authorities from their official open data: Chicago, New York City and the New York MTA.

US city and state contracts on the line-up

Run it on an input of your own.

Create an account, make a key, and send the request above with your own input. The first 1,000 units each month are free.