MetaPath API
  • API Introduction
    • General Instruction
    • Major Blockchain Name Conventions
  • Cross-platform Aggregator Interface
    • Token Swap Flow
    • Get <The Token List> Interface
    • <Price Inquiry> Interface
    • <Swap> Interface
    • <BlackList> Interface
  • Upload gas free orders
  • Aggregate NFTs Interface V1.0
    • Get <Basic Information> Interface
    • Get <NFT List> Interface
    • <Price Inquiry> Interface
    • <Swap> Interface
    • Get <NFT List Held by User> Interface
  • Aggregate NFTs Interface V2.0
    • Get <Latest Collections> Interface
    • Get <Top NFT Collections> Interface
    • <List Page> Interface
    • Get <NFT Details> Interface
    • Get <NFT Details> Other Related Interface
    • <Price Inquiry> Interface
    • <Swap> Interface
    • <Batch Purchase> Interface
  • List Related Interface
    • Get <User's NFT> Interface
    • Get <Listed NFT List (My List)> Interface
    • <Create/Update Listing> Interface
    • <Create/Update Listing in the Backend> Interface
    • <Cancel Listing> Interface
    • <Change Listing> Interface
  • Swap Information Related Interface
    • <Add Swap Information> Interface
    • <Get Swap Information List> Interface
    • <Get Detailed Transation Infromation > Interface
Powered by GitBook
On this page
  • Data Request and Return Data Type
  • Status Code Description
  • Device Code Description
  1. API Introduction

General Instruction

PreviousAPI IntroductionNextMajor Blockchain Name Conventions

Last updated 1 year ago

Data Request and Return Data Type

Production API Address:

Swap Production API Address:

Test API Address:

Both the POST request data format and the return data format are JSON data types.

Status Code Description

Status Code
Meaning

100

Succeed

Others

Fail

Device Code Description

// device id nodejsgenerate logic reference id
          let equipmentNo = ''
          if (address.length <= 32) {
            let n = 32 - address.length
            for (let i = 0; i < n; i++) {
              equipmentNo += 'x'
            }
            equipmentNo += address
          } else {
            equipmentNo = address.slice(0, 32)
          }
https://api.paths.finance/
https://api-swap.paths.finance
https://api-test.paths.finance/