> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.defdex.io/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.defdex.io/_mcp/server.

# Get award

GET https://app.defdex.io/api/v1/awards/{id}

One award with its obligations, ceiling and transaction history. 1 credit.

Reference: https://docs.defdex.io/api-reference/awards-and-jobs/get-award

## Authentication

- `Authorization` header (bearer token, required) — Create a key at https://app.defdex.io/developer/keys. Keep it private.

## Request

### Path parameters

- `id` (string, required) — USAspending award key, as returned by /awards or an entity document.

### Query parameters

- `actions_page` (integer, optional) — Page of the transaction history (250 per page).

## Response

### 200

Success

- `data` (Award, required)
- `build_id` (string, required)

## Errors

### 400 Bad Request Error

Invalid parameter, missing filter or cursor, or the query exceeded its time budget. Narrow the filters.

- `error` (string, required)
- `bulk` (Bulk, optional) — Present when a query hits the 1,000-result cap or has no filter.

### 401 Unauthorized Error

Missing, invalid or revoked key.

- `error` (string, required)
- `bulk` (Bulk, optional) — Present when a query hits the 1,000-result cap or has no filter.

### 402 Payment Required Error

Out of credits for this billing cycle (only once limits are enforced).

- `error` (string, required)
- `bulk` (Bulk, optional) — Present when a query hits the 1,000-result cap or has no filter.

### 403 Forbidden Error

Key lacks the required scope.

- `error` (string, required)
- `bulk` (Bulk, optional) — Present when a query hits the 1,000-result cap or has no filter.

### 404 Not Found Error

Unknown entity, award, job or proposal.

- `error` (string, required)
- `bulk` (Bulk, optional) — Present when a query hits the 1,000-result cap or has no filter.

### 409 Conflict Error

Published data changed during the read or pagination; restart from the first page.

- `error` (string, required)
- `bulk` (Bulk, optional) — Present when a query hits the 1,000-result cap or has no filter.

### 429 Too Many Requests Error

Account request limit (or correction submission limit) reached.

- `error` (string, required)
- `bulk` (Bulk, optional) — Present when a query hits the 1,000-result cap or has no filter.

### 503 Service Unavailable Error

Service temporarily unavailable.

- `error` (string, required)
- `bulk` (Bulk, optional) — Present when a query hits the 1,000-result cap or has no filter.

## Types

### Award

- `id` (string, required) — USAspending award key.
- `url` (string, required)
- `source_url` (string, required)
- `title` (string, optional, nullable)
- `piid` (string, optional, nullable)
- `parent_piid` (string, optional, nullable)
- `recipient` (AwardRecipient, optional, nullable) — A linked entity: pass id to /entities/\{id}.
- `recipient_uei` (string, optional, nullable)
- `parent_company` (AwardParentCompany, optional, nullable) — A linked entity: pass id to /entities/\{id}.
- `agency` (AwardAgency, optional, nullable) — A linked entity: pass id to /entities/\{id}.
- `office` (AwardOffice, optional, nullable) — A linked entity: pass id to /entities/\{id}.
- `program` (AwardProgram, optional, nullable) — A linked entity: pass id to /entities/\{id}.
- `obligated_usd` (double, optional, nullable) — US dollars. Obligated (net federal obligations) unless the field name says otherwise; an announced ceiling is never spending.
- `current_value_usd` (double, optional, nullable) — US dollars. Obligated (net federal obligations) unless the field name says otherwise; an announced ceiling is never spending.
- `announced_ceiling_usd` (double, optional, nullable) — Potential value (ceiling), not spending.
- `actions` (integer, optional, nullable)
- `first_action_on` (date, optional, nullable)
- `last_action_on` (date, optional, nullable)
- `end_on` (date, optional, nullable)
- `potential_end_on` (date, optional, nullable)
- `award_type_code` (string, optional, nullable)
- `product_service_code` (string, optional, nullable)
- `naics_code` (string, optional, nullable)
- `place_of_performance` (AwardPlaceOfPerformance, optional)
- `totals` (AwardTotals, optional) — Award detail only, for awards with a published action history.
- `transactions` (AwardTransactions, optional) — Award detail only: \{total, page, pages, items}; 250 actions per page (actions\_page=).

### Bulk

Present when a query hits the 1,000-result cap or has no filter.

- `message` (string, optional)
- `email` ("hello@defdex.io", optional)
- `contact_url` (string, optional)

### AwardRecipient

A linked entity: pass id to /entities/\{id}.

- `id` (string, optional, nullable)
- `name` (string, optional)

### AwardParentCompany

A linked entity: pass id to /entities/\{id}.

- `id` (string, optional, nullable)
- `name` (string, optional)

### AwardAgency

A linked entity: pass id to /entities/\{id}.

- `id` (string, optional, nullable)
- `name` (string, optional)

### AwardOffice

A linked entity: pass id to /entities/\{id}.

- `id` (string, optional, nullable)
- `name` (string, optional)

### AwardProgram

A linked entity: pass id to /entities/\{id}.

- `id` (string, optional, nullable)
- `name` (string, optional)

### AwardPlaceOfPerformance

- `city` (string, optional, nullable)
- `state` (string, optional, nullable)
- `country` (string, optional, nullable)

### AwardTotals

Award detail only, for awards with a published action history.

### AwardTransactions

Award detail only: \{total, page, pages, items}; 250 actions per page (actions\_page=).

## Examples

**Response**

```json
{
  "data": {
    "id": "CONT_AWD_N0001917C0001_9700_-NONE-_-NONE-",
    "url": "string",
    "source_url": "string",
    "title": "string",
    "piid": "string",
    "parent_piid": "string",
    "recipient": {
      "id": "string",
      "name": "string"
    },
    "recipient_uei": "string",
    "parent_company": {
      "id": "string",
      "name": "string"
    },
    "agency": {
      "id": "string",
      "name": "string"
    },
    "office": {
      "id": "string",
      "name": "string"
    },
    "program": {
      "id": "string",
      "name": "string"
    },
    "obligated_usd": 1.1,
    "current_value_usd": 1.1,
    "announced_ceiling_usd": 1.1,
    "actions": 1,
    "first_action_on": "2023-01-15",
    "last_action_on": "2023-01-15",
    "end_on": "2023-01-15",
    "potential_end_on": "2023-01-15",
    "award_type_code": "string",
    "product_service_code": "string",
    "naics_code": "string",
    "place_of_performance": {
      "city": "string",
      "state": "string",
      "country": "string"
    },
    "totals": {},
    "transactions": {}
  },
  "build_id": "string"
}
```

**SDK Code**

```python
import requests

url = "https://app.defdex.io/api/v1/awards/CONT_AWD_N0001917C0001_9700_-NONE-_-NONE-"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://app.defdex.io/api/v1/awards/CONT_AWD_N0001917C0001_9700_-NONE-_-NONE-';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://app.defdex.io/api/v1/awards/CONT_AWD_N0001917C0001_9700_-NONE-_-NONE-"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://app.defdex.io/api/v1/awards/CONT_AWD_N0001917C0001_9700_-NONE-_-NONE-")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://app.defdex.io/api/v1/awards/CONT_AWD_N0001917C0001_9700_-NONE-_-NONE-")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://app.defdex.io/api/v1/awards/CONT_AWD_N0001917C0001_9700_-NONE-_-NONE-', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://app.defdex.io/api/v1/awards/CONT_AWD_N0001917C0001_9700_-NONE-_-NONE-");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://app.defdex.io/api/v1/awards/CONT_AWD_N0001917C0001_9700_-NONE-_-NONE-")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```