{
  "x402Version": 2,
  "id": 37672,
  "slug": "37672",
  "resource": "https://api.vextorium.com/swap-solana-pago",
  "description": "Best route and price to swap one Solana token for another: how much you receive, the price impact and which DEXs the route goes through. Accepts symbols (SOL, USDC...) or mint addresses. Live from Jupiter, Solana's leading aggregator.",
  "type": "http",
  "serviceName": "Vextorium",
  "resourceType": "Market Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "7000",
      "amountUsd": 0.007,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "HcjfmZLgWRZzwj4deEiS7pewc4KBYSw39mW5nTyt3pz2",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "7000",
      "amountUsd": 0.007,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "7000",
      "amountUsd": 0.007,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:10",
      "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
      "asset": "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
      "amount": "7000",
      "maxTimeoutSeconds": 604900
    },
    {
      "scheme": "exact",
      "network": "eip155:5042",
      "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
      "asset": "0x3600000000000000000000000000000000000000",
      "amount": "7000",
      "maxTimeoutSeconds": 604900
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "cantidad_entrada": {
            "type": [
              "number",
              "null"
            ]
          },
          "cantidad_recibida": {
            "type": [
              "number",
              "null"
            ]
          },
          "desde": {
            "type": [
              "string",
              "null"
            ]
          },
          "fuente": {
            "type": [
              "string",
              "null"
            ]
          },
          "hacia": {
            "type": [
              "string",
              "null"
            ]
          },
          "impacto_precio_pct": {
            "type": [
              "number",
              "null"
            ]
          },
          "nota": {
            "type": [
              "string",
              "null"
            ]
          },
          "por_dex": {
            "items": {
              "type": [
                "null",
                "string"
              ]
            },
            "type": [
              "array",
              "null"
            ]
          },
          "precio": {
            "type": [
              "number",
              "null"
            ]
          }
        },
        "type": [
          "object",
          "null"
        ]
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "cantidad": 1,
            "desde": "SOL",
            "hacia": "USDC"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "cantidad_entrada": 1,
            "cantidad_recibida": 118.857385,
            "desde": "SOL",
            "fuente": "Jupiter (lite-api.jup.ag, datos abiertos de Solana)",
            "hacia": "USDC",
            "impacto_precio_pct": 0.0309,
            "nota": "Mejor ruta estimada por Jupiter con 0,5% de slippage. La cantidad final puede variar al ejecutar. No es recomendación de inversión.",
            "por_dex": [
              "HumidiFi"
            ],
            "precio": 118.857385
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "cantidad": {
                    "description": "Amount of the 'desde' token to swap (whole units)",
                    "type": "number"
                  },
                  "desde": {
                    "description": "Token to sell (symbol or mint), e.g. SOL",
                    "type": "string"
                  },
                  "hacia": {
                    "description": "Token to receive (symbol or mint), e.g. USDC",
                    "type": "string"
                  }
                },
                "required": [
                  "desde",
                  "hacia",
                  "cantidad"
                ]
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "cantidad_entrada": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "cantidad_recibida": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "desde": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "fuente": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "hacia": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "impacto_precio_pct": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "nota": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "por_dex": {
                    "items": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "precio": {
                    "type": [
                      "number",
                      "null"
                    ]
                  }
                },
                "type": [
                  "object",
                  "null"
                ]
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "solana",
    "swap",
    "dex",
    "jupiter",
    "quote",
    "bazaar"
  ],
  "sourceHost": "api.vextorium.com",
  "lastUpdated": "2026-10-05T18:17:36.327Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-05T18:17:35.695Z"
  },
  "metadata": {
    "serviceName": "Vextorium",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "cantidad": 1,
              "desde": "SOL",
              "hacia": "USDC"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "cantidad_entrada": 1,
              "cantidad_recibida": 118.857385,
              "desde": "SOL",
              "fuente": "Jupiter (lite-api.jup.ag, datos abiertos de Solana)",
              "hacia": "USDC",
              "impacto_precio_pct": 0.0309,
              "nota": "Mejor ruta estimada por Jupiter con 0,5% de slippage. La cantidad final puede variar al ejecutar. No es recomendación de inversión.",
              "por_dex": [
                "HumidiFi"
              ],
              "precio": 118.857385
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "cantidad": {
                      "description": "Amount of the 'desde' token to swap (whole units)",
                      "type": "number"
                    },
                    "desde": {
                      "description": "Token to sell (symbol or mint), e.g. SOL",
                      "type": "string"
                    },
                    "hacia": {
                      "description": "Token to receive (symbol or mint), e.g. USDC",
                      "type": "string"
                    }
                  },
                  "required": [
                    "desde",
                    "hacia",
                    "cantidad"
                  ]
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "cantidad_entrada": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "cantidad_recibida": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "desde": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "fuente": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "hacia": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "impacto_precio_pct": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "nota": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "por_dex": {
                      "items": {
                        "type": [
                          "null",
                          "string"
                        ]
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "precio": {
                      "type": [
                        "number",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.vextorium.com",
    "manifest_name": "api.vextorium.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "cantidad_entrada": 0,
      "cantidad_recibida": 0,
      "desde": "string",
      "fuente": "string",
      "hacia": "string",
      "impacto_precio_pct": 0,
      "nota": "string",
      "por_dex": [
        "value"
      ],
      "precio": 0
    },
    "type": "string"
  }
}