> This page is for Glide Classic.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://www.glideapps.com/docs/llms.txt.
> To search these docs from an AI client, connect to the docs search MCP server at https://www.glideapps.com/docs/_mcp/server (documentation search only).
> To work with your GlideOS projects, connect to the Glide MCP server at https://mcp.glideapps.dev/mcp instead (GlideOS only; setup: https://www.glideapps.com/docs/mcp).

# Get Rows

GET https://api.glideapps.com/tables/{tableID}/rows

You can use the `limit` query parameter to specify the maximum number of rows to return for each request.

Whether or not you supply a `limit`, you may need to make multiple requests to retrieve all the rows in the table. If there are more rows to fetch, the `continuation` field will be set in the response. To retrieve the next page of rows, make another request with the `continuation` as a query parameter.

Reference: https://www.glideapps.com/docs/classic/classic-api/tables/get-rows

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication header of the form Bearer `<token>`, where `<token>` is your [auth token](/docs/api-reference/v2/general/authentication).

## Request

### Path parameters

- `tableID` (string, required) — ID of the table, e.g., `2a1bad8b-cf7c-44437-b8c1-e3782df6`

### Query parameters

- `limit` (double, optional) — Maximum number of rows to return in a single response. No more than this number of rows will be returned, however fewer rows may be returned, even if there are more rows to fetch. If there are more rows, the response will include a continuation token that can be used to fetch the next set of rows.
- `continuation` (string, optional) — A continuation token from a previous response. If provided, the next set of rows will be returned. If not provided, the first set of rows will be returned.

## Response

### 200

- `data` (list of map from string to any, required) — A collection of row objects conforming to the schema of the table where keys are the column IDs and values are the column values: ```json [ { "fullName": "Alex Bard", "invoiceDate": "2024-07-29T14:04:15.561Z", "totalAmount": 34.50, "amountPaid": 0 }, { "fullName": "Alicia Hines", "invoiceDate": "2023-06-15T10:30:00.000Z", "totalAmount": 50.75, "amountPaid": 20 } ] ```
- `continuation` (string, optional) — A continuation token for fetching the next set of rows. If this is not provided, this response contains the last set of rows.

## Errors

### 400 Bad Request Error

- `error` (TablesTableIdRowsGetResponsesContentApplicationJsonSchemaError, required)

### 402 Payment Required Error

- `error` (TablesTableIdRowsGetResponsesContentApplicationJsonSchemaError, required)

### 404 Not Found Error

- `error` (TablesTableIdRowsGetResponsesContentApplicationJsonSchemaError, required)

## Types

### TablesTableIdRowsGetResponsesContentApplicationJsonSchemaError

- `type` (enum, required)
  - Allowed values: `table_not_found`, `table_not_big_table`
- `message` (string, required)

## Examples

**Response**

```json
{
  "data": [
    {
      "amountPaid": 0,
      "fullName": "Alex Bard",
      "invoiceDate": "2024-07-29T14:04:15.561Z",
      "totalAmount": 34.5
    },
    {
      "amountPaid": 20,
      "fullName": "Alicia Hines",
      "invoiceDate": "2023-06-15T10:30:00.000Z",
      "totalAmount": 50.75
    }
  ],
  "continuation": "string"
}
```

**SDK Code**

```python
import requests

url = "https://api.glideapps.com/tables/2a1bad8b-cf7c-44437-b8c1-e3782df6/rows"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.glideapps.com/tables/2a1bad8b-cf7c-44437-b8c1-e3782df6/rows';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.glideapps.com/tables/2a1bad8b-cf7c-44437-b8c1-e3782df6/rows"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.glideapps.com/tables/2a1bad8b-cf7c-44437-b8c1-e3782df6/rows")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.glideapps.com/tables/2a1bad8b-cf7c-44437-b8c1-e3782df6/rows")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.glideapps.com/tables/2a1bad8b-cf7c-44437-b8c1-e3782df6/rows', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.glideapps.com/tables/2a1bad8b-cf7c-44437-b8c1-e3782df6/rows");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.glideapps.com/tables/2a1bad8b-cf7c-44437-b8c1-e3782df6/rows")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```