Public OData v4 REST API for the AdventureWorks and Northwind sample databases.
https://sdata.kandoodev.com/odata/$metadata.
Rate limit
100 requests per minute per IP address. Exceeding the limit returns
503 Service Unavailable.
This API is free for all and intended for developers who need a live OData v4 REST API to test client grids, filters, paging, and other dev scenarios against real-world sample data. Save time and effort by skipping the setup of your own sample API — just point your app here and stay productive.
GET
/api/adventureworks/products
POST
/api/adventureworks/products/$query
Returns a pageable, filterable, sortable list of products from the AdventureWorks Production.Product table.
{
"@odata.context": "__ORIGIN__/odata/$metadata#Products",
"@odata.count": 504,
"value": [
{
"ProductId": 749,
"Name": "Road-150 Red, 62",
"ProductNumber": "BK-R93R-62",
"Color": "Red",
"Size": "62",
...
}
]
}
| Field | Type | Description |
|---|---|---|
| ProductId | int | Primary key |
| Name | string | Product name |
| ProductNumber | string | Stock-keeping unit |
| Color | string? | Product color |
| Size | string? | Product size |
| ListPrice | decimal | Retail price |
| StandardCost | decimal | Manufacturing cost |
| MakeFlag | bool | Manufactured in-house |
| FinishedGoodsFlag | bool | Saleable item |
| SafetyStockLevel | short | Minimum stock quantity |
| ReorderPoint | short | Reorder trigger quantity |
| DaysToManufacture | int | Lead time in days |
| Weight | decimal? | Product weight |
| ProductLine | string? | R / M / T / S |
| Class | string? | H / M / L |
| Style | string? | U / M / W |
| SizeUnitMeasureCode | string? | Size unit |
| WeightUnitMeasureCode | string? | Weight unit |
| ProductSubcategoryID | int? | Subcategory FK |
| ProductModelID | int? | Model FK |
| SellStartDate | DateTime | First saleable date |
| SellEndDate | DateTime? | End-of-life date |
| DiscontinuedDate | DateTime? | Discontinued date |
| Rowguid | Guid | Unique row identifier |
| ModifiedDate | DateTime | Last modified |
| Option | Example | Notes |
|---|---|---|
$top |
?$top=20 |
Max 100 |
$skip |
?$skip=40 |
Use with $top for paging |
$orderby |
?$orderby=Name?$orderby=ListPrice desc |
Ascending by default |
$filter |
?$filter=Color eq 'Red'?$filter=ListPrice gt 100?$filter=contains(Name,'Road') |
See filter reference below |
$count |
?$count=true |
Includes total in @odata.count |
$select |
?$select=Name,Color,ListPrice |
Projection |
GET /api/adventureworks/products?$top=5&$orderby=ListPrice desc&$count=true GET /api/adventureworks/products?$filter=Color eq 'Black' and Size eq 'M' GET /api/adventureworks/products?$filter=startswith(Name,'HL') GET /api/adventureworks/products?$filter=ListPrice ge 500 and ListPrice le 1000 GET /api/adventureworks/products?$select=ProductId,Name,ListPrice&$top=10
Use /api/adventureworks/products/$query to send query parameters in the request body.
Supports application/json and application/x-www-form-urlencoded.
POST /api/adventureworks/products/$query
Content-Type: application/json
{
"$top": 10,
"$skip": 0,
"$orderby": "ListPrice desc",
"$filter": "Color eq 'Red'"
}
POST /api/adventureworks/products/$query (form-urlencoded body)
$top=10&$skip=0&$orderby=Name&$filter=contains(Name,'Mountain')
POST /api/adventureworks/products/$query (JSON body)
{"$top":10,"$skip":20,"$filter":"Color eq 'Black' and Size eq 'L'"}
GET
/api/northwind/customers
POST
/api/northwind/customers/$query
Returns a pageable, filterable, sortable list of customers from the Northwind Customers table.
{
"@odata.context": "__ORIGIN__/odata/$metadata#Customers",
"@odata.count": 91,
"value": [
{
"CustomerId": "ALFKI",
"CompanyName": "Alfreds Futterkiste",
"ContactName": "Maria Anders",
"City": "Berlin",
"Country": "Germany",
...
}
]
}
| Field | Type | Description |
|---|---|---|
| CustomerId | string | 5-char primary key (e.g. ALFKI) |
| CompanyName | string | Company name |
| ContactName | string? | Primary contact person |
| ContactTitle | string? | Job title |
| Address | string? | Street address |
| City | string? | City |
| Region | string? | State / region |
| PostalCode | string? | Postal / ZIP code |
| Country | string? | Country |
| Phone | string? | Phone number |
| Fax | string? | Fax number |
| Option | Example | Notes |
|---|---|---|
$top | ?$top=15 | Default: 10 |
$skip | ?$skip=30 | Use with $top for paging |
$orderby | ?$orderby=Country,City | Multi-column sort |
$filter | ?$filter=Country eq 'UK' | See filter reference |
Use /api/northwind/customers/$query to send query parameters in the request body.
Supports application/json and application/x-www-form-urlencoded.
POST /api/northwind/customers/$query
Content-Type: application/json
{
"Top": 10,
"Skip": 0,
"OrderBy": "Country asc",
"Filter": "City eq 'London'"
}
GET /api/northwind/customers?$top=10&$orderby=CompanyName GET /api/northwind/customers?$filter=Country eq 'Germany' GET /api/northwind/customers?$filter=startswith(CompanyName,'B') GET /api/northwind/customers?$top=5&$skip=10&$orderby=City
| Operator | Example |
|---|---|
eq / ne | Color eq 'Red' |
gt / ge | ListPrice gt 100 |
lt / le | SafetyStockLevel le 500 |
and / or | Color eq 'Black' and Size eq 'L' |
not | not (Color eq 'Red') |
contains | contains(Name,'Mountain') |
startswith | startswith(CompanyName,'A') |
endswith | endswith(ProductNumber,'-00') |
Questions? Contact [email protected]
© 2025 sdata · Built on ASP.NET Core & OData v4