---
title: "POST /v0.1/orders/buy-tx"
method: POST
path: "/v0.1/orders/buy-tx"
---

# POST /v0.1/orders/buy-tx

`POST /v0.1/orders/buy-tx`

## Request

- Base URL: `https://transaction.rarible.org`
- URL: `https://transaction.rarible.org/v0.1/orders/buy-tx`
- Auth: none declared

Get transaction data for NFT purchase

## Request body

- FillRequest
  - `from` string, required
  - `to` string, required
  - `request` object, required
    - `orderId` string, required: Rarible OrderId in Union format `${blockchainGroup}:${orderId}`
    - `amount` number, required: Amount of NFT to get from offer order
    - `originFees` Part[]: Additional fees for marketplace
      - `account` string, required: Blockchain address in Union format `${blockchainGroup}:${token}`
      - `value` integer, required
    - `payouts` Part[]: Payouts
      - `account` string, required: Blockchain address in Union format `${blockchainGroup}:${token}`
      - `value` integer, required

## Response `200`

OK

- FillResponse
  - `from` string
  - `to` string
  - `value` string: Big number representation
  - `data` string: Transaction data for signing

## Other responses

- `400`: Bad Request
- `500`: Internal Server Error

## Changes

- **2026-07-17** `8487f9ab9912`: 1 breaking
  - added the new required request property `to`
- **2022-06-08** `c24614ea6451`: 1 warning
  - removed the request property `to`

[Operation history](https://skmtc.dev/rarible/apis/rarible-transaction-backend-api/changes/v0.1/orders/buy-tx/post.md)

---

[API](https://skmtc.dev/rarible/apis/rarible-transaction-backend-api.md) - [All operations](https://skmtc.dev/rarible/apis/rarible-transaction-backend-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rarible/apis/rarible-transaction-backend-api/revisions/8487f9ab9912?raw)
