Skip to main content
To use the REST API to call the Unstructured API, you need an Unstructured API URL and API key. To get them:
1
Sign in at https://transform.unstructured.io. To sign up, click Register.
2
Click API Keys.
3
Copy the API URL and API Key values. Paste them into some secure location of yours.
The API URL and API key that you just got will not work with Unstructured Pipelines.
Unstructured Pipelines is sold separately. If you use it, do the following instead. If you are not sure if you have it, check with your Unstructured account administrator or your Unstructured Sales representative. If you want to purchase it, contact Unstructured Sales.
1
Sign in to your organization’s unique Unstructured account.
2
If your organization uses more than one workspace in your account, use the workspace selector to choose your target workspace. Each API key works with one and only one workspace.
3
Click API Keys.
4
Copy the Unstructured API Endpoint value. This is your Unstructured API URL. Paste it into some secure location of yours.
5
Click Generate New Key, enter some unique name for your new Unstructured API key, and click Continue.
6
Click the pages icon (Copy) next to your new key to copy its value to your system’s clipboard. Paste this value in some secure location of yours.
The REST API code examples throughout the documentation use the following environment variables:
  • UNSTRUCTURED_API_URL, representing your API URL.
  • UNSTRUCTURED_API_KEY, representing your API key.
To set these variables, see your system’s documentation.

Next steps

Local file quickstart

Use Unstructured with cURL to turn local input files into structured data.

REST endpoints

Call the REST API endpoints with cURL or Postman.