# SAM Opportunity Status Lookup

> SAM Opportunity Status Lookup is a paid API for AI agents from oracles-production.up.railway.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Retrieves stored detail for a single SAM.gov contract opportunity by its entityId.

## Facts

- Endpoint: GET https://oracles-production.up.railway.app/v1/sam-opportunities/status
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sam-opportunity-status-lookup-77e53e23
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_i0zGa1DmJyal0dAfdri9w

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability sam-opportunity-status-lookup-77e53e23
```

Example prompt: Can you pull up the stored details for SAM opportunity sam:abc123456789? I need to see what's in the record for that notice.

## When to prefer this

Use this endpoint when you have a specific SAM.gov notice ID and need to retrieve its full stored detail record. Prefer this over search/list endpoints when you already know the entityId and want a single opportunity's data. This is ideal for agents monitoring specific federal procurement opportunities or following up on previously discovered notices.

## Known failure modes

- Invalid or unknown entityId returns empty result or 404
- Malformed entityId format (not 'sam:<noticeId>') may return no match
- Opportunity not yet tracked by the oracle returns no data
- Payment failure (x402 protocol) blocks access if USDC not provided
- Omitting required query param when intending a specific lookup returns list instead of detail

## How this service works

Stored detail for a single opportunity (entityId like 'sam:<noticeId>').

## Output

Returns a stored entity object containing the full detail record for the specified SAM.gov contract opportunity, keyed by an entityId like 'sam:<noticeId>'. If the id query param is omitted, lists all tracked SAM opportunity entities.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "id": {
       "type": "string",
       "description": "entityId to look up; omit to list tracked entities"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "entity": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sam-opportunity-status-lookup-77e53e23/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from oracles-production.up.railway.app](https://www.zero.xyz/host/oracles-production.up.railway.app/llms.txt)
