> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# Recipient

> Recipient profile by USAspending recipient_id (hash with -C/-P/-R level) or 12-character UEI: names, identifiers, parent, business types, location and transaction obligations for the latest 12 months or a fiscal year, plus per-fiscal-year obligations for the years requested.

## Request contract

* **Method and path:** POST /apis/v1/usaspending-gov/recipients/recipient
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/usaspending-gov/recipients/recipient`

[Complete OpenAPI definition](https://aisa.one/docs/openapi/usaspending-gov.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "usaspending-gov.recipients.recipient",
  "method": "POST",
  "path": "/apis/v1/usaspending-gov/recipients/recipient",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "examples": {
          "provider": {
            "summary": "Official provider example; checked against AIsa request constraints",
            "value": {
              "recipient_id": "6cf5fb1b-4988-d087-5dc1-70939d8fc6c4-C"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "allOf": [
            {
              "anyOf": [
                {
                  "properties": {
                    "recipient_id": {}
                  },
                  "required": [
                    "recipient_id"
                  ]
                },
                {
                  "properties": {
                    "uei": {}
                  },
                  "required": [
                    "uei"
                  ]
                }
              ]
            }
          ],
          "properties": {
            "fiscal_year": {
              "description": "Period for the headline totals; omitted = latest trailing 12 months.\n\nProvider reference: minimum 2008; maximum 2035.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 2035,
                "min": 2008
              }
            },
            "fiscal_years": {
              "description": "Fiscal years to break obligations down by (one upstream request each).",
              "items": {
                "type": "number"
              },
              "type": "array",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "recipient_id": {
              "description": "Pattern: ^[0-9a-fA-F-]{36}-[CPRcpr]$.",
              "type": "string"
            },
            "uei": {
              "description": "Resolved through the recipient list endpoint (several seconds upstream); prefer recipient_id when known. Pattern: ^[A-Za-z0-9]{12}$.",
              "type": "string"
            }
          },
          "type": "object"
        }
      }
    },
    "required": true
  },
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## Cost and request rules

Usage-based pricing. Default request estimate: \$0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.


## OpenAPI

````yaml openapi/usaspending-gov.json POST /apis/v1/usaspending-gov/recipients/recipient
openapi: 3.1.0
info:
  description: ''
  title: USAspending
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    usaspending-gov:
      description: ''
      title: USAspending
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: bd023c3a292175ba2c80967d07c97f1f471561a7f1b5cc9430e15158934aed5b
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/usaspending-gov/agencies/agency
    - /apis/v1/usaspending-gov/awards/award
    - /apis/v1/usaspending-gov/awards/award-search
    - /apis/v1/usaspending-gov/awards/idv-children
    - /apis/v1/usaspending-gov/awards/subawards
    - /apis/v1/usaspending-gov/awards/transactions
    - /apis/v1/usaspending-gov/recipients/recipient
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:f06465e212675b8de9fc59cf30a5b7948ef03770ed5a2e104f686a571c4b181f
    facts_hash: bd023c3a292175ba2c80967d07c97f1f471561a7f1b5cc9430e15158934aed5b
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: usaspending-gov
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/usaspending-gov/recipients/recipient:
    post:
      tags:
        - USAspending
      summary: Recipient
      description: >-
        Recipient profile by USAspending recipient_id (hash with -C/-P/-R level)
        or 12-character UEI: names, identifiers, parent, business types,
        location and transaction obligations for the latest 12 months or a
        fiscal year, plus per-fiscal-year obligations for the years requested.
      operationId: usaspending-gov.recipients.recipient
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  recipient_id: 6cf5fb1b-4988-d087-5dc1-70939d8fc6c4-C
            schema:
              additionalProperties: true
              allOf:
                - anyOf:
                    - properties:
                        recipient_id: {}
                      required:
                        - recipient_id
                    - properties:
                        uei: {}
                      required:
                        - uei
              properties:
                fiscal_year:
                  description: >-
                    Period for the headline totals; omitted = latest trailing 12
                    months.


                    Provider reference: minimum 2008; maximum 2035.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 2035
                    min: 2008
                fiscal_years:
                  description: >-
                    Fiscal years to break obligations down by (one upstream
                    request each).
                  items:
                    type: number
                  type: array
                  x-alexandria-option-metadata:
                    in: body
                recipient_id:
                  description: 'Pattern: ^[0-9a-fA-F-]{36}-[CPRcpr]$.'
                  type: string
                uei:
                  description: >-
                    Resolved through the recipient list endpoint (several
                    seconds upstream); prefer recipient_id when known. Pattern:
                    ^[A-Za-z0-9]{12}$.
                  type: string
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: >-
                    Published by the provider on
                    2026-09-15T03:56:32.871236+00:00.
                  summary: Official provider example
                  value:
                    complete: true
                    next_cursor: null
                    records:
                      - alternate_names:
                          - GENERAL DYNAMICS CORPORATION
                          - GENERAL DYNMICS/FORT WORTH DIV
                          - LOCKHEED MARTIN CORPORATION (3632)
                        amount_unit:
                          basis: >-
                            transaction-level obligations summed over the
                            requested period (latest = trailing 12 months; a
                            fiscal year = Oct 1 to Sep 30)
                          currency: USD
                          scale: '1'
                        business_types:
                          - category_business
                          - corporate_entity_not_tax_exempt
                          - manufacturer_of_goods
                          - other_than_small_business
                          - special_designations
                          - us_owned_business
                        duns: '008016958'
                        location:
                          address_line1: 1 LOCKHEED BLVD
                          address_line2: null
                          city_name: FORT WORTH
                          congressional_code: '12'
                          country_code: USA
                          country_name: UNITED STATES
                          county_name: null
                          foreign_postal_code: null
                          foreign_province: null
                          state_code: TX
                          zip4: '3619'
                          zip5: '76108'
                        name: LOCKHEED MARTIN CORPORATION
                        obligations_by_fiscal_year: []
                        observed_at_ms: 1789444592871
                        parent_duns: '834951691'
                        parent_name: LOCKHEED MARTIN CORPORATION
                        parent_recipient_id: 8e2862a3-62bd-4514-180d-47f089a24644-P
                        parent_uei: JSQTW5L2SSM1
                        parents:
                          - duns: '834951691'
                            name: LOCKHEED MARTIN CORPORATION
                            recipient_id: 8e2862a3-62bd-4514-180d-47f089a24644-P
                            uei: JSQTW5L2SSM1
                          - duns: null
                            name: SIKORSKY SUPPORT SERVICES INC
                            recipient_id: 738b71ca-a1fd-b59f-ab44-c884d1bc7b2b-P
                            uei: WXTSNW5E97R6
                          - duns: '834951691'
                            name: LOCKHEED MARTIN CORP
                            recipient_id: b97d19b0-833c-8d8f-3a2c-157d04ea55ef-P
                            uei: ZFN2JJXBLZT3
                        period: latest
                        recipient_id: 6cf5fb1b-4988-d087-5dc1-70939d8fc6c4-C
                        recipient_level: C
                        source_url: >-
                          https://www.usaspending.gov/recipient/6cf5fb1b-4988-d087-5dc1-70939d8fc6c4-C/latest
                        source_vintage: '2026-09-14'
                        total_face_value_loan_amount: '0.0'
                        total_face_value_loan_transactions: 0
                        total_transaction_amount: '28688875586.97'
                        total_transactions: 1559
                        uei: G4KDGE4JFFK7
                    retrieved_at: '2026-09-15T03:56:32Z'
                    schema_version: 1.0.0
                    source_updated_at: '2026-09-14'
                    source_url: >-
                      https://api.usaspending.gov/api/v2/recipient/6cf5fb1b-4988-d087-5dc1-70939d8fc6c4-C/?year=latest
                    units:
                      basis: nominal dollars as published by USAspending
                      currency: USD
                      scale: '1'
                    upstream_requests: 2
                    warnings: []
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Recipient profile by USAspending recipient_id (hash with -C/-P/-R
            level) or 12-character UEI: names, identifiers, parent, business
            types, location and transaction obligations for the latest 12 months
            or a fiscal year, plus per-fiscal-year obligations for the years
            requested.


            The response contains the tool result directly.


            | Documented field | Provider type | Description |

            | --- | --- | --- |

            | `complete` | boolean | Whether this response satisfied the
            requested operation; false when a secondary source call failed
            (warnings explain). |

            | `next_cursor` | string | Opaque v1:<page>:<hash> cursor bound to
            the filters; null at the end. |

            | `records` | object[] |  |

            | `retrieved_at` | string |  |

            | `schema_version` | string |  |

            | `source_updated_at` | string | USAspending database last-updated
            date from awards/last_updated, null when that call failed. |

            | `source_url` | string |  |

            | `uei_matches` | object[] | Present only for a UEI lookup: every
            recipient USAspending lists under that UEI (child, parent and
            standalone levels); the returned record is the child level when one
            exists. |

            | `units` | object |  |

            | `upstream_requests` | number |  |

            | `warnings` | string[] |  |



            These are the provider's documented fields. Field requiredness,
            nullability and nested object structures are specified only where
            the descriptions explicitly say so.
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.