# New federal construction contracts in Virginia

**Use case:** 

Commercial and institutional building construction contracts (NAICS 236220) signed in the last 30 days for work in Virginia, with company and amount.

## Input

```json
{
  "postedWithinDays": 30,
  "states": [
    "VA"
  ],
  "naicsCodes": [
    "236220"
  ],
  "maxResults": 200,
  "onlyNew": false
}
```

## Output

```json
{
  "signedDate": {
    "label": "Signed on",
    "format": "date"
  },
  "recipientName": {
    "label": "Company",
    "format": "text"
  },
  "recipientCity": {
    "label": "City",
    "format": "text"
  },
  "recipientState": {
    "label": "State",
    "format": "text"
  },
  "amount": {
    "label": "Amount (USD)",
    "format": "number"
  },
  "awardingAgency": {
    "label": "Agency",
    "format": "text"
  },
  "awardingSubAgency": {
    "label": "Sub agency",
    "format": "text"
  },
  "naicsDescription": {
    "label": "NAICS",
    "format": "text"
  },
  "description": {
    "label": "Description",
    "format": "text"
  },
  "performanceState": {
    "label": "Performed in",
    "format": "text"
  },
  "contractType": {
    "label": "Type",
    "format": "text"
  },
  "change": {
    "label": "Change (only new)",
    "format": "text"
  },
  "awardUrl": {
    "label": "Award page",
    "format": "link"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The US Federal Contract Awards API (USAspending) Actor is ready to run with the inputs already set for "New federal construction contracts in Virginia". [Sign up or log in](https://console.apify.com/create-task-from-example/kZAENyg2HnUgkymel) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "New federal construction contracts in Virginia" task

The US Federal Contract Awards API (USAspending) Actor will start running based on the input automatically. You can also change all the input fields, like signed within (days), states (place of performance), and more, to match your specific use case.

### 3. Receive the "New federal construction contracts in Virginia" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as signed on, company, city, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "New federal construction contracts in Virginia" task via API](https://apify.com/digital_influx/us-federal-contracts.md).

## About this Actor

This example demonstrates how to use [US Federal Contract Awards API (USAspending)](https://apify.com/digital_influx/us-federal-contracts.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/digital_influx/us-federal-contracts.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/digital_influx/us-federal-contracts.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
