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.2.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.2.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.

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

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.