---
updatedAt: 2026-07-23T23:01:05.000Z
agentTools:
  projectIndex: https://docs.ubidots.com/v1.6/llms.txt
---

# Live test: data raw series

This endpoint allows you to retrieve raw data from one or multiple variables in a range of time.

<br />

> 📘 Columns parameter
>
> Available options are:
>
> * value.value
> * variable.id
> * variable.label
> * value.context
> * variable.name
> * variable.properties.color
> * device.name
> * device.label
> * timestamp

<br />

> 📘 Optional parameters
>
> * If neither `start` nor `end` is included, the request will use the last 100 values of each variable.
> * If only `start` is sent, values from that timestamp up to the last value in the time series are included, regardless of whether that last value is in the future.
> * If only `end` is sent, values from the beginning of data collection up to that timestamp are included.
> * If the `precision` parameter is not defined, the number of displayed decimal places depends on the calculation.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "1.0.0",
    "title": "Ubidots API"
  },
  "servers": [
    {
      "url": "https://industrial.api.ubidots.com"
    }
  ],
  "paths": {
    "/api/v1.6/data/raw/series": {
      "post": {
        "description": "This endpoint allows you to retrieve raw data from one or multiple variables in a range of time.",
        "operationId": "post_apiv1.6datarawseries",
        "responses": {
          "200": {
            "description": ""
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string",
                      "description": "{\n  \"detail\": \"JSON parse error - Expecting value: line X column XX (char XXX)\"\n}"
                    }
                  },
                  "required": [
                    "name"
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string",
                      "description": "{\n  \"code\": 401001,\n  \"message\": \"Authentication credentials were not provided.\"\n}"
                    }
                  },
                  "required": [
                    "name"
                  ]
                }
              }
            }
          }
        },
        "parameters": [
          {
            "in": "query",
            "name": "token",
            "schema": {
              "type": "string"
            },
            "description": "The token to authenticate the request. Supported but not recommended. It's recommended to use the X-Auth-Token header instead."
          }
        ],
        "security": [
          {
            "Auth-token": []
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "variables": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "An array of variable IDs."
                  },
                  "columns": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "List of data fields to include in the response for each variable.\nSee the note above for supported column values."
                  },
                  "join_dataframes": {
                    "type": "boolean",
                    "description": "Controls whether data from multiple variables is combined or returned separately.\n\ntrue: returns a single combined time series.\nfalse (default): returns one time series per variable."
                  },
                  "start": {
                    "type": "number",
                    "description": "Start timestamp (in milliseconds POSIX format). Values recorded at or after this time are included."
                  },
                  "end": {
                    "type": "number",
                    "description": "End timestamp (in milliseconds POSIX format). Values recorded at or before this time are included."
                  },
                  "limit": {
                    "type": "number",
                    "description": "Maximum number of values returned per variable."
                  },
                  "tz": {
                    "type": "string",
                    "description": "Timezone in which the request timestamps are interpreted. For example, America/New_York, Africa/Bissau, America/Argentina/La_Rioja, etc."
                  },
                  "precision": {
                    "type": "integer",
                    "description": "Number of decimal places applied to values in the response."
                  }
                },
                "required": [
                  "variables",
                  "columns"
                ]
              }
            }
          }
        },
        "summary": "Live test: data raw series"
      }
    }
  },
  "components": {
    "securitySchemes": {
      "Auth-token": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Auth-Token"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```