How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

DFlow swap API

Swap API endpoints

DFlow swap API is one of 7 APIs that DFlow publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

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

This API exposes 5 operations across 5 paths, and defines 31 schemas. It is described by OpenAPI 3.1.0, at version 0.1.0.

Requests are made against a single base URL, https://quote-api.dflow.net.

5 operations 5 paths 31 schemas 3 GET2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
0.1.0
Base URL
https://quote-api.dflow.net
Authentication
API Key
License
BUSL-1.1
Resource Areas
1

Authentication & Security 1

DFlow swap API declares 1 security scheme for authenticating requests. An API key is passed in the header as x-api-key (api_key). By default, every request must be authenticated.

  • api_key — API key for authentication. Contact hello@dflow.net to obtain an API key.

Paths & Operations 5

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

swap 5

Swap API endpoints

GET
/priority-fees
Returns the latest global priority fee estimates for each priority level
priority_fees_handler → 200
GET
/priority-fees/stream
Streams priority fee estimate updates over a WebSocket connection
priority_fee_stream_handler → 101
GET
/quote
Returns a quote for an imperative swap
quote_handler 17 params → 200400500503
POST
/swap
Returns an imperative swap transaction for the given quote
swap_handler body → 200400500
POST
/swap-instructions
Returns an imperative swap transaction for the given quote
swap_instructions_handler body → 200400500

Schemas 31

The contract defines 31 schemas that model the data the API accepts and returns. The most detailed are QuoteResponse (17 properties), SwapRequest (15 properties), SwapInstructionsResponse (10 properties), DynamicRoutePlanLeg (9 properties). Each schema is shown below with its type and property counts.

PriorityLevel
string
QuoteServiceUnavailableCode
string
DynamicRoutePlanLeg
object
9 properties 9 required
PrioritizationFeeLamports
AccountMetaResponse
object
3 properties 3 required
CreateFeeAccountParams
object
1 property 1 required
IncludeJitoSandwichMitigationAccount
PrioritizationType
InstructionResponse
object
3 properties 3 required
SwapInternalServerErrorResponse
object
2 properties 2 required
QuoteServiceUnavailableResponse
object
2 properties 2 required
SlippageTolerance
SwapRequest
object
15 properties 2 required
QuoteBadRequestResponse
object
4 properties 2 required
SwapInstructionsResponse
object
10 properties 9 required
SwapResponse
object
5 properties 4 required
SwapInternalServerErrorCode
string
RoutePlanLeg
QuoteBadRequestCode
string
QuoteInternalServerErrorCode
string
BlockhashWithMetadata
object
2 properties 2 required
SwapBadRequestResponse
object
2 properties 2 required
PlatformFeeMode
string
PriorityFeesResponse
object
Global priority fee estimates (in micro-lamports per compute unit) for each priority level.
3 properties 3 required
QuoteInternalServerErrorResponse
object
4 properties 2 required
PositiveSlippageParams
object
2 properties 1 required
SwapBadRequestCode
string
SingleMarketRoutePlanLeg
object
8 properties 8 required
DestinationTokenAccountParam
PlatformFee
object
3 properties 3 required
QuoteResponse
object
17 properties 10 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

dflow-swap-api-openapi.yml Raw ↑

Other APIs DFlow publishes across the network.

DFlow admin API
DFlow intent API
DFlow order API
DFlow prediction_market API
DFlow tokens API
DFlow venues API
Where this information came from

This is an independent, third-party profile of DFlow swap API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.