Tarifflo
  • Pricing
  • Refunds
  • IEEPA Refunds
Sign In

Get started

  • Overview
  • Authentication
  • Errors
  • Rate limits

Build

  • REST API
  • Webhooks
  • MCP connector
  • Entry shape

Help

  • Request a feature

Get started

Errors

Errors return a non-2xx status and a JSON body with a stable code and a readable message.

Shape

Branch on error.code, not on the message. Validation errors add a details array with one entry per problem.

400 Bad Request
json
{
  "error": {
    "code": "VALIDATION_ERROR",
    "message": "Invalid request parameters",
    "details": ["rates[0].origin must be a 2-letter ISO country code"]
  }
}

Codes

StatusCodeMeaning
400VALIDATION_ERRORThe body failed validation. `details` lists every problem.
401MISSING_API_KEYNo X-API-Key header.
401INVALID_API_KEY_FORMATThe key does not start with tflo_.
401INVALID_API_KEYThe key is unknown, revoked or wrong.
401EXPIRED_API_KEYThe key has passed its expiry date.
403INSUFFICIENT_PERMISSIONSThe key lacks a scope the endpoint requires. `details` lists both.
403ECCN_NOT_ENABLED / ORIGIN_NOT_ENABLEDThe feature is not enabled for your organization.
404NOT_FOUNDNo job with this id exists in your organization.
413FILE_TOO_LARGE / TOO_MANY_ITEMSA batch is over its size limit.
429RATE_LIMIT_EXCEEDED / DAILY_RATE_LIMIT_EXCEEDEDToo many requests. Wait `retryAfter` seconds.
500INTERNAL_SERVER_ERRORSomething failed on our side. Retry with backoff.

Failed jobs

A job that was accepted and then failed does not change the HTTP status of the poll. GET on the job returns 200 with "status": "failed" and an error object.

Tarifflo

AI-driven trade automation for modern importers and brokers.

Get started free

Platform

  • Audit
  • ABI Filing
  • PGA
  • Suppliers

Customs

  • HTS Classification
  • Schedule B
  • ECCN
  • Tariff Rates
  • Customs Clearance

Developers

  • Docs
  • REST API
  • Webhooks
  • MCP Connector

Product

  • Pricing
  • Refunds
  • IEEPA Refunds
  • Explore data

Company

  • FAQ
  • Contact Us
  • Book a Demo

© 2026 Tarifflo, Inc. All rights reserved.

Privacy PolicyTerms & Conditions