Tradeverifyd US Customs API
The US Customs API from Tradeverifyd — 1 operation(s) for us customs.
The US Customs API from Tradeverifyd — 1 operation(s) for us customs.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/tradeverifyd-us-customs-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Tradeverifyd US Customs API
description: The Tradeverifyd API offers advanced capabilities for analyzing supply chain entities and their intricate relationships, enabling users to gain deep insights into the complex dynamics of global trade networks.
termsOfService: https://tradeverifyd.com/terms-of-service
contact:
name: tradeverifyd.com
url: https://tradeverifyd.com/
email: support@tradeverifyd.com
license:
name: Proprietary License
url: https://tradeverifyd.com/terms-of-service
version: 0.2.0
servers:
- url: https://api.tradeverifyd.com
description: Production server
security:
- ApiKeyAuth: []
tags:
- name: US Customs
paths:
/v1/us_customs/submit_presentation:
post:
tags:
- US Customs
summary: Submit Verifiable Presentation
description: 'Submit a presentation to US Customs.
Request body:
credential_ids: A list of credential ids to submit to US Customs.
Returns:
A response from submitting a presentation to US Customs.'
operationId: submit_verifiable_presentation_us_customs_submit_presentation_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/SubmitPresentationRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/SubmitPresentationResponse'
'500':
description: Internal server error - contact support
content:
application/json:
examples:
internal_error:
summary: Internal server error
value:
detail: Internal server error
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError
SubmitPresentationRequest:
properties:
shipment_id:
type: string
title: Shipment ID
description: The shipment ID from tradeverifyd
credential_ids:
items:
type: string
format: uuid
type: array
title: Credential IDs
description: The IDs of the verifiable credentials to submit
type: object
required:
- shipment_id
- credential_ids
title: SubmitPresentationRequest
description: A request to submit a presentation to US Customs
SubmitPresentationResponse:
properties:
response_code:
type: integer
title: Response Code
description: The response code from the US Customs API
message:
type: string
title: Response Message
description: A message from the US Customs API
cbp_request:
title: CBP Request
description: The saved CBP Request record
$ref: '#/components/schemas/earthstream_services__services__us_customs__schemas__us_customs__CBPRequest'
nullable: true
type: object
required:
- response_code
- message
title: SubmitPresentationResponse
description: A response from submitting a presentation to US Customs
earthstream_services__services__us_customs__schemas__us_customs__CBPRequest:
properties:
id:
title: CBP Request ID
description: The identifier for the CBP Request
type: string
format: uuid
nullable: true
created:
title: Creation Timestamp
description: The timestamp of when the CBP was created
type: string
format: date-time
nullable: true
last_modified:
title: Last Modified Timestamp
description: The timestamp of the last modification to the CBP
type: string
format: date-time
nullable: true
shipment_id:
type: string
format: uuid
title: Shipment ID
description: The ID of the Shipment to which the CBP belongs
vc_ids:
title: Verifiable Credential IDs
description: A list of related VC ids
items:
type: string
type: array
nullable: true
presentation:
title: Presentation Data
description: The raw data of the Presentation submitted to CBP
type: string
nullable: true
presentation_id:
title: Presentation ID
description: The CBP may be related to a presentation
type: string
nullable: true
user_email:
type: string
title: User Email
description: The user who initiated the CBP
submitted_date:
type: string
format: date-time
title: Submission Date
description: The timestamp of the when the request was submitted to CBP
cbp_response_code:
title: CBP Response Code
description: The response code, if any, from CBP
type: string
nullable: true
type: object
required:
- id
- created
- last_modified
- shipment_id
- vc_ids
- presentation
- presentation_id
- user_email
- submitted_date
- cbp_response_code
title: CBPRequest
description: The object type for a CBP Request
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: ocp-apim-subscription-key