apyhub
FILE CONVERSION · FILE MANIPULATION

Convert CSV to Excel API

What it does

CSV to Excel Converter turns a CSV file or CSV URL into an XLSX spreadsheet. Send a file upload to get a binary XLSX download, or request a signed link when you want the converted workbook stored and fetched later.

Use the /file/download and /url/download endpoints when you need the converted spreadsheet immediately in your app or backend workflow. Use the /file/link and /url/link endpoints when you prefer a URI response that points to the generated XLSX file. The request body accepts either file for an uploaded CSV or url for a remote CSV source, and the download endpoints also accept an optional output query value for the filename.

This is a practical fit for internal admin tools, import pipelines, reporting jobs, and any workflow that receives CSV exports from users or third-party systems but needs an Excel workbook for review or handoff. The API keeps the contract simple: provide the CSV source, then receive either the XLSX binary stream or a signed data link back.

▣ ENDPOINT 01 / 04
POST
Convert uploaded CSV to XLSX and stream download (FC-01)
https://api.eu.apyverse.com/apyhub/convert-csv-to-xlsx/file/download

QUICKSTART

GUIDE

Quickstart

Upload a CSV file to convert it to an XLSX download.

curl -X POST "https://api.eu.apyverse.com/apyhub/convert-csv-to-xlsx/file/download?output=output.xlsx" \
  -H "apy-token: $APY_TOKEN" \
  -F "file=@/path/to/file.csv"

What you'll get back

Returns a binary file download (string with format: "binary"), so the response body is the converted .xlsx file.

(binary file content)
TRY ITLIVE · 30 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
Max 100MB total per request (all files combined). Larger? Use this API's URL-based endpoint instead, if it has one.
body*
CSV file to convert.

About this endpoint

What it does

Uploads a CSV file and converts it to an XLSX file for download. The response is a binary file stream containing the converted spreadsheet.

Query Parameter(s)

AttributeTypeMandatoryDescription
outputStringNoOutput filename.

Request Body

ParameterTypeMandatoryDescription
fileStringYesCSV file to convert.

Response

Returns a binary file stream as the success response. The output schema is a String with binary format, so the response body is the converted XLSX file content.

ParameterTypeMandatoryDescription
StringBinary file content returned by the endpoint.

Query parameters

Name
Type
Description
outputOPTIONAL
string

Body

Name
Type
Description
bodyREQUIRED
object

Max 100MB total per request (all files combined). Larger? Use this API's URL-based endpoint instead, if it has one.

▣ ENDPOINT 02 / 04
POST
Convert uploaded CSV to XLSX and return signed link (FC-01)
https://api.eu.apyverse.com/apyhub/convert-csv-to-xlsx/file/link

QUICKSTART

GUIDE

Quickstart

Upload a CSV file to convert it into an XLSX file link.

curl -X POST "https://api.eu.apyverse.com/apyhub/convert-csv-to-xlsx/file/link" \
  -H "apy-token: $APY_TOKEN" \
  -F "file=@/path/to/file.csv"

What you'll get back

Returns a JSON object with a data string field containing the generated file URL.

{
  "data": "https://storage.example.com/convert/output.xlsx?sig=abc"
}
TRY ITLIVE · 30 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
Max 100MB total per request (all files combined). Larger? Use this API's URL-based endpoint instead, if it has one.
body*
CSV file to convert.

About this endpoint

What it does

Converts an uploaded CSV file into an XLSX file and returns a signed link to the generated output. The request sends the source file in the body; the response contains a JSON object with the download URL in data.

Request Body

ParameterTypeMandatoryDescription
fileStringYesCSV file to convert. Binary file upload.

Response

Returns a JSON object with a data string field containing a URI to the converted XLSX file. The success response body is an object with one top-level field: data (String).

ParameterTypeMandatoryDescription
dataStringYesSigned URI for the generated XLSX file.

Body

Name
Type
Description
bodyREQUIRED
object

Max 100MB total per request (all files combined). Larger? Use this API's URL-based endpoint instead, if it has one.

▣ ENDPOINT 03 / 04
POST
Convert remote CSV URL to XLSX and stream download (FC-01)
https://api.eu.apyverse.com/apyhub/convert-csv-to-xlsx/url/download

QUICKSTART

GUIDE

Quickstart

Download an XLSX file from a CSV URL.

curl -X POST "https://api.eu.apyverse.com/apyhub/convert-csv-to-xlsx/url/download" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://assets.apyhub.com/samples/sample.csv"}'

What you'll get back

Returns a binary file (string with format: binary) containing the generated XLSX content.

(binary file download)
TRY ITLIVE · 30 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
body*

About this endpoint

What it does

Converts a CSV file from a remote URL into an XLSX file and returns the converted file as a streamed binary download. The request body must include the source file URL.

Request Body

ParameterTypeMandatoryDescription
urlStringYesRemote CSV file URL. Must be a URI.

Response

Returns a binary file stream — the converted XLSX content is sent directly in the response body.

ParameterTypeMandatoryDescription
fileStringYesBinary response payload containing the XLSX download.

Body

Name
Type
Description
bodyREQUIRED
object
▣ ENDPOINT 04 / 04
POST
Convert remote CSV URL to XLSX and return signed link (FC-01)
https://api.eu.apyverse.com/apyhub/convert-csv-to-xlsx/url/link

QUICKSTART

GUIDE

Quickstart

Convert a CSV file from a public URL into an XLSX file.

curl -X POST "https://api.eu.apyverse.com/apyhub/convert-csv-to-xlsx/url/link" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://assets.apyhub.com/samples/sample.csv"}'

What you'll get back

Returns a JSON object with a data string field containing the URL of the generated .xlsx file.

{
  "data": "https://storage.example.com/convert/output.xlsx?sig=abc"
}
TRY ITLIVE · 30 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
body*

About this endpoint

What it does

Converts a remote CSV file, identified by a URL, into an XLSX file and returns a signed link to the generated output. The request takes a single CSV url in the body and the response returns the converted file location as a URI string.

Request Body

ParameterTypeMandatoryDescription
urlStringYesRemote CSV file URL. Must be a URI.

Response

Returns a JSON object with a data string field containing a URI to the generated XLSX file.

ParameterTypeMandatoryDescription
dataStringYesSigned link to the converted XLSX file. Must be a URI.

Body

Name
Type
Description
bodyREQUIRED
object
▣ COMMON ERRORS

Errors any endpoint can return

400bad_request

Required parameter missing or malformed body.

401unauthorized

API key missing, revoked, or not authorized for this service.

429rate_limited

Your plan's per-second rate exceeded. Retry with exponential backoff.

503upstream_busy

Backend temporarily unavailable. Try again in a few seconds.