Avalara · Capability

Avalara AvaTax REST API — Free

Avalara AvaTax REST API — Free. 2 operations. Lead operation: Avalara Get Tax Rates by Address. Self-contained Naftiko capability covering one Avalara business surface.

Run with Naftiko AvalaraFree

What You Can Do

GET
Taxratesbyaddress — Avalara Get Tax Rates by Address
/v1/api/v2/taxrates/byaddress
GET
Taxratesbypostalcode — Avalara Get Tax Rates by Postal Code
/v1/api/v2/taxrates/bypostalcode

MCP Tools

avalara-get-tax-rates-address

Avalara Get Tax Rates by Address

read-only idempotent
avalara-get-tax-rates-postal

Avalara Get Tax Rates by Postal Code

read-only idempotent

Capability Spec

avatax-rest-free.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Avalara AvaTax REST API — Free
  description: 'Avalara AvaTax REST API — Free. 2 operations. Lead operation: Avalara Get Tax Rates by Address. Self-contained
    Naftiko capability covering one Avalara business surface.'
  tags:
  - Avalara
  - Free
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AVALARA_API_KEY: AVALARA_API_KEY
capability:
  consumes:
  - type: http
    namespace: avatax-rest-free
    baseUri: https://rest.avatax.com
    description: Avalara AvaTax REST API — Free business capability. Self-contained, no shared references.
    resources:
    - name: api-v2-taxrates-byaddress
      path: /api/v2/taxrates/byaddress
      operations:
      - name: taxratesbyaddress
        method: GET
        description: Avalara Get Tax Rates by Address
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: line1
          in: query
          type: string
          description: Street address line 1
          required: true
        - name: city
          in: query
          type: string
        - name: region
          in: query
          type: string
          description: State or province code
          required: true
        - name: postalCode
          in: query
          type: string
          required: true
        - name: country
          in: query
          type: string
          description: Two-character ISO 3166 country code
          required: true
    - name: api-v2-taxrates-bypostalcode
      path: /api/v2/taxrates/bypostalcode
      operations:
      - name: taxratesbypostalcode
        method: GET
        description: Avalara Get Tax Rates by Postal Code
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: country
          in: query
          type: string
          required: true
        - name: postalCode
          in: query
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.AVALARA_API_KEY}}'
  exposes:
  - type: rest
    namespace: avatax-rest-free-rest
    port: 8080
    description: REST adapter for Avalara AvaTax REST API — Free. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/v2/taxrates/byaddress
      name: api-v2-taxrates-byaddress
      description: REST surface for api-v2-taxrates-byaddress.
      operations:
      - method: GET
        name: taxratesbyaddress
        description: Avalara Get Tax Rates by Address
        call: avatax-rest-free.taxratesbyaddress
        with:
          line1: rest.line1
          city: rest.city
          region: rest.region
          postalCode: rest.postalCode
          country: rest.country
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v2/taxrates/bypostalcode
      name: api-v2-taxrates-bypostalcode
      description: REST surface for api-v2-taxrates-bypostalcode.
      operations:
      - method: GET
        name: taxratesbypostalcode
        description: Avalara Get Tax Rates by Postal Code
        call: avatax-rest-free.taxratesbypostalcode
        with:
          country: rest.country
          postalCode: rest.postalCode
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: avatax-rest-free-mcp
    port: 9090
    transport: http
    description: MCP adapter for Avalara AvaTax REST API — Free. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: avalara-get-tax-rates-address
      description: Avalara Get Tax Rates by Address
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: avatax-rest-free.taxratesbyaddress
      with:
        line1: tools.line1
        city: tools.city
        region: tools.region
        postalCode: tools.postalCode
        country: tools.country
      outputParameters:
      - type: object
        mapping: $.
    - name: avalara-get-tax-rates-postal
      description: Avalara Get Tax Rates by Postal Code
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: avatax-rest-free.taxratesbypostalcode
      with:
        country: tools.country
        postalCode: tools.postalCode
      outputParameters:
      - type: object
        mapping: $.