Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Zerion swap API

Operations related to swapping and bridging assets.

Zerion swap API is one of 9 APIs that Zerion publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include swap. The published artifact set on APIs.io includes an OpenAPI specification, an API reference, and API documentation.

This API exposes 2 operations across 2 paths, and defines 29 schemas. It is described by OpenAPI 3.0.3, at version 1.0.0.

Requests are made against a single base URL, https://api.zerion.io.

2 operations 2 paths 29 schemas 2 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.0.0
Base URL
https://api.zerion.io
Authentication
HTTP Basic
Contact
Resource Areas
1

Authentication & Security 1

Zerion swap API declares 1 security scheme for authenticating requests. It accepts HTTP basic authentication (APIKeyBasicAuth). By default, every request must be authenticated.

  • APIKeyBasicAuth — To test endpoints here, paste your API key from the [dashboard](https://dashboard.zerion.io/) into the username field and leave the password empty.

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 2 GET. Each is listed below with its method, path, parameters, and response codes.

swap 2

Operations related to swapping and bridging assets.

GET
/v1/swap/quotes/
Get swap and bridge quotes
swapQuotes 6 params → 200400401429
GET
/v1/swap/fungibles/
List fungibles available for bridging
swapFungibles 3 params → 200400401429

Schemas 29

The contract defines 29 schemas that model the data the API accepts and returns. The most detailed are QuoteAttributes (14 properties), EVMTransaction (12 properties), Attributes-10 (8 properties), MarketData (7 properties). Each schema is shown below with its type and property counts.

ContainerShort
object
2 properties 2 required
AttributesImplementation
object
5 properties 3 required
Relationships-6
object
6 properties 6 required
QuotesResponse
object
2 properties 2 required
EVMTransaction
object
EVM transaction in a form ready to be signed by an EVM wallet. Numeric fields are encoded as 0x-prefixed hex strings.
12 properties 8 required
FungiblesResponseLinks
object
1 property 1 required
ExternalLinks
array
A list of relevant URLs.
MarketDataChanges
object
4 properties
RelationshipLinks
object
1 property 1 required
ResponseLinks-16
object
1 property 1 required
Relationship
object
2 properties 2 required
TradingVolumes
object
1 property
RelationshipData
object
2 properties 2 required
QuoteRelationships
object
4 properties 2 required
ExternalLink
object
3 properties 1 required
QuoteAttributes
object
14 properties 6 required
SolanaTransaction
object
Solana transaction ready to be signed by a Solana wallet.
1 property 1 required
Icon
object
Icon related to object.
1 property
Flags
object
1 property 1 required
QuoteContainer
object
4 properties 4 required
ImplementationMarketData
object
1 property
EVMCustomData
object
Chain-specific transaction extras. Currently used for zkSync Era paymaster parameters.
2 properties
FungiblesResponse
object
2 properties 2 required
MultichainTransaction
object
Transaction payload in a chain-agnostic envelope. Exactly one of evm or solana is present, depending on the chain on which the transaction must be sent.
2 properties
MarketData
object
7 properties 1 required
QuoteAmount
object
4 properties
RelationshipLinks-2
object
1 property 1 required
Attributes-10
object
8 properties 6 required
Container-12
object
Object, representing fungible asset.
4 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

zerion-swap-api-openapi.yml Raw ↑

Other APIs Zerion publishes across the network.

Zerion chains API
Zerion dapps API
Zerion fungibles API
Zerion gas API
Zerion nfts API
Zerion subscriptions to transactions API
Zerion wallet sets API
Zerion wallets API