SingleStore · Example Payload

Singlestore Query Rows Example

Example request and response for querying data using the SingleStore Data API

DatabaseSQLAnalyticsCloudDistributed SQL

Singlestore Query Rows Example is an example object payload from SingleStore, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

titledescriptionrequestresponse

Example Payload

Raw ↑
{
  "title": "Query Data Rows Example",
  "description": "Example request and response for querying data using the SingleStore Data API",
  "request": {
    "method": "POST",
    "url": "https://{workspace-host}/api/v2/query/rows",
    "headers": {
      "Authorization": "Bearer your-api-key-here",
      "Content-Type": "application/json"
    },
    "body": {
      "sql": "SELECT id, customer_id, amount, created_at FROM orders WHERE created_at >= ? ORDER BY created_at DESC LIMIT 10",
      "database": "production",
      "args": ["2026-05-01 00:00:00"]
    }
  },
  "response": {
    "status": 200,
    "body": {
      "results": [
        {
          "columns": [
            {"name": "id", "dataType": "BIGINT"},
            {"name": "customer_id", "dataType": "BIGINT"},
            {"name": "amount", "dataType": "DECIMAL"},
            {"name": "created_at", "dataType": "DATETIME"}
          ],
          "rows": [
            {"id": 1042, "customer_id": 789, "amount": 149.99, "created_at": "2026-05-02T10:30:00Z"},
            {"id": 1041, "customer_id": 456, "amount": 89.50, "created_at": "2026-05-02T09:15:00Z"}
          ]
        }
      ]
    }
  }
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/singlestore-query-rows-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.