USADF Grant Opportunities API — Opportunities

USADF Grant Opportunities API — Opportunities. 2 operations. Lead operation: USADF Search Grant Opportunities. Self-contained Naftiko capability covering one Us African Development Foundation business surface.

Run with Naftiko Us African Development FoundationOpportunities

What You Can Do

POST
Searchopportunities — USADF Search Grant Opportunities
/v1/opportunities/search
GET
Getopportunity — USADF Get Grant Opportunity Details
/v1/opportunities/{opportunityid}

MCP Tools

usadf-search-grant-opportunities

USADF Search Grant Opportunities

read-only
usadf-get-grant-opportunity-details

USADF Get Grant Opportunity Details

read-only idempotent

Capability Spec

usadf-grant-opportunities-opportunities.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: USADF Grant Opportunities API — Opportunities
  description: 'USADF Grant Opportunities API — Opportunities. 2 operations. Lead operation: USADF Search Grant Opportunities.
    Self-contained Naftiko capability covering one Us African Development Foundation business surface.'
  tags:
  - Us African Development Foundation
  - Opportunities
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    US_AFRICAN_DEVELOPMENT_FOUNDATION_API_KEY: US_AFRICAN_DEVELOPMENT_FOUNDATION_API_KEY
capability:
  consumes:
  - type: http
    namespace: usadf-grant-opportunities-opportunities
    baseUri: https://apply07.grants.gov/grantsws/rest
    description: USADF Grant Opportunities API — Opportunities business capability. Self-contained, no shared references.
    resources:
    - name: opportunities-search
      path: /opportunities/search
      operations:
      - name: searchopportunities
        method: POST
        description: USADF Search Grant Opportunities
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: opportunities-opportunityId
      path: /opportunities/{opportunityId}
      operations:
      - name: getopportunity
        method: GET
        description: USADF Get Grant Opportunity Details
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: opportunityId
          in: path
          type: string
          description: Grants.gov opportunity identifier
          required: true
  exposes:
  - type: rest
    namespace: usadf-grant-opportunities-opportunities-rest
    port: 8080
    description: REST adapter for USADF Grant Opportunities API — Opportunities. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/opportunities/search
      name: opportunities-search
      description: REST surface for opportunities-search.
      operations:
      - method: POST
        name: searchopportunities
        description: USADF Search Grant Opportunities
        call: usadf-grant-opportunities-opportunities.searchopportunities
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/opportunities/{opportunityid}
      name: opportunities-opportunityid
      description: REST surface for opportunities-opportunityId.
      operations:
      - method: GET
        name: getopportunity
        description: USADF Get Grant Opportunity Details
        call: usadf-grant-opportunities-opportunities.getopportunity
        with:
          opportunityId: rest.opportunityId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: usadf-grant-opportunities-opportunities-mcp
    port: 9090
    transport: http
    description: MCP adapter for USADF Grant Opportunities API — Opportunities. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: usadf-search-grant-opportunities
      description: USADF Search Grant Opportunities
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: usadf-grant-opportunities-opportunities.searchopportunities
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: usadf-get-grant-opportunity-details
      description: USADF Get Grant Opportunity Details
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: usadf-grant-opportunities-opportunities.getopportunity
      with:
        opportunityId: tools.opportunityId
      outputParameters:
      - type: object
        mapping: $.