Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
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. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Coinlist Wallet API
version: 0.1.0
description: 'Operations tagged Wallet across 2 of this provider''s published API definitions: coinlist-openapi.json, coinlist-passage-openapi-original.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.coinlist.co
variables: {}
security: []
tags:
- name: Wallet
paths:
/v1/wallet/authorized:
get:
callbacks: {}
description: Reads authorized(address) on the Superstate swap contract to determine whether the given wallet is allowed to swap.
operationId: getWalletAuthorized
parameters:
- description: The swap contract address
in: query
name: contract_address
required: true
schema:
example: '0x742d35cc6634c0532925a3b844bc9e7595f0beb1'
type: string
- description: The wallet address to check
in: query
name: wallet_address
required: true
schema:
example: '0x8ba1f109551bd432803012645ac136ddd64dba72'
type: string
- description: The EVM chain to read from, e.g. ethereum_mainnet, ethereum_sepolia, base_mainnet or base_sepolia
in: query
name: chain
required: true
schema:
example: ethereum_sepolia
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/WalletAuthorization'
description: Successful response.
default:
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
description: Error response.
security:
- OAuth2: []
summary: Check whether a wallet is authorized on a swap contract
tags:
- Wallet
servers:
- url: https://api.coinlist.co
variables: {}
components:
schemas:
WalletAuthorization:
additionalProperties: false
description: Whether a wallet is authorized to swap on a Superstate swap contract.
properties:
authorized:
description: Whether the wallet is authorized on the swap contract
example: true
type: boolean
object:
description: String representing the object's type. Objects of the same type share the same value.
enum:
- wallet_authorization
type: string
required:
- object
- authorized
title: WalletAuthorization
type: object
Error:
additionalProperties: false
properties:
code:
description: A human-readable message providing more details about the error.
type: string
errors:
additionalProperties:
items:
type: string
type: array
type: object
event_id:
description: The unique identifier for the error event. This is useful for tracking and debugging.
type: string
message:
description: For some errors that could be handled programmatically, a short string indicating the error code reported.
type: string
type:
description: The type of error returned. One of `api_error`, `invalid_request_error`
enum:
- api_error
- invalid_request_error
type: string
required:
- type
- message
title: Error
type: object
WalletAuthorization_2:
additionalProperties: false
description: Whether a wallet is authorized to swap on a Superstate swap contract.
properties:
authorized:
description: Whether the wallet is authorized on the swap contract
example: true
type: boolean
x-struct: null
x-validate: null
object:
description: String representing the object's type. Objects of the same type share the same value.
enum:
- wallet_authorization
type: string
x-struct: null
x-validate: null
required:
- object
- authorized
title: WalletAuthorization
type: object
x-struct: Elixir.FrontlineAPIWeb.OpenApi.Schemas.WalletAuthorization
x-validate: null
Error_2:
additionalProperties: false
properties:
code:
description: A human-readable message providing more details about the error.
type: string
x-struct: null
x-validate: null
errors:
additionalProperties:
items:
type: string
x-struct: null
x-validate: null
type: array
x-struct: null
x-validate: null
type: object
x-struct: null
x-validate: null
event_id:
description: The unique identifier for the error event. This is useful for tracking and debugging.
type: string
x-struct: null
x-validate: null
message:
description: For some errors that could be handled programmatically, a short string indicating the error code reported.
type: string
x-struct: null
x-validate: null
type:
description: The type of error returned. One of `api_error`, `invalid_request_error`
enum:
- api_error
- invalid_request_error
type: string
x-struct: null
x-validate: null
required:
- type
- message
title: Error
type: object
x-struct: Elixir.FrontlineAPIWeb.OpenApi.Schemas.ApiError
x-validate: null
securitySchemes:
OAuth2:
description: OAuth 2.0 authorization and token endpoints
flows:
authorizationCode:
authorizationUrl: /oauth/authorize
refreshUrl: /oauth/token
scopes: {}
tokenUrl: /oauth/token
clientCredentials:
refreshUrl: /oauth/token
scopes: {}
tokenUrl: /oauth/token
type: oauth2
TokenAuth:
description: Session token for user authentication during OAuth authorization
scheme: bearer
type: http
x-refined-from:
- coinlist-openapi.json
- coinlist-passage-openapi-original.json