Skip to main content
POST
/
api
/
samgov
/
opportunities
/samgov/opportunities
curl --request POST \
  --url https://api.anysite.io/api/samgov/opportunities \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "opportunity": "<string>",
  "timeout": 300
}
'
[
  {
    "notice_id": "<string>",
    "@type": "@samgov_opportunity",
    "title": "<string>",
    "type": {
      "@type": "@samgov_opportunity_type",
      "code": "<string>",
      "value": "<string>"
    },
    "status_code": "<string>",
    "status_value": "<string>",
    "solicitation_number": "<string>",
    "classification_code": "<string>",
    "naics": [],
    "set_aside": "<string>",
    "organization_id": "<string>",
    "parent_notice_id": "<string>",
    "is_active": true,
    "is_canceled": true,
    "is_archived": true,
    "published_at": "<string>",
    "modified_at": "<string>",
    "created_at": "<string>",
    "response_at": "<string>",
    "archive_at": "<string>",
    "descriptions": [],
    "place_of_performance": {
      "@type": "@samgov_location",
      "street_address": "<string>",
      "street_address2": "<string>",
      "city": "<string>",
      "state": "<string>",
      "zip": "<string>",
      "country": "<string>"
    },
    "point_of_contact": [],
    "award": {
      "@type": "@samgov_award",
      "number": "<string>",
      "amount": "<string>",
      "date": "<string>",
      "delivery_order_number": "<string>",
      "line_item_number": "<string>",
      "awardee": {
        "@type": "@samgov_awardee",
        "name": "<string>",
        "uei_sam": "<string>",
        "cage_code": "<string>",
        "location": {
          "@type": "@samgov_location",
          "street_address": "<string>",
          "street_address2": "<string>",
          "city": "<string>",
          "state": "<string>",
          "zip": "<string>",
          "country": "<string>"
        }
      }
    },
    "attachments": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
opportunity
string
required

Opportunity notice id (32-character hex)

Minimum string length: 1
Example:

"273550718e47440ea62240809c2d081a"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

notice_id
string
required
@type
string
default:@samgov_opportunity
title
string | null
type
SamgovOpportunityType · object
status_code
string | null
status_value
string | null
solicitation_number
string | null
classification_code
string | null
naics
string[]
set_aside
string | null
organization_id
string | null
parent_notice_id
string | null
is_active
boolean | null
is_canceled
boolean | null
is_archived
boolean | null
published_at
string | null
modified_at
string | null
created_at
string | null
response_at
string | null
archive_at
string | null
descriptions
string[]
place_of_performance
SamgovLocation · object
point_of_contact
SamgovPointOfContact · object[]
award
SamgovAward · object
attachments
SamgovAttachment · object[]