Skip to content

Organizations

The Organizations resource provides fake company data with names, descriptions, industries, sizes, websites, and logos.

MethodEndpointDescription
GET/v1/organizationsList all organizations
GET/v1/organizations/:idGet a specific organization
GET/v1/organizations/:id/departmentsGet organization's departments
GET/v1/organizations/:id/employeesGet organization's employees
GET/v1/organizations/:id/projectsGet organization's projects
{
"id": 1,
"name": "Acme Corporation",
"slug": "acme-corporation",
"description": "Acme Corporation is a leading provider of innovative solutions.",
"industry": "Technology",
"size": "enterprise",
"website": "https://example.com",
"logo": "https://example.com/logo.png",
"createdAt": "2026-01-15T10:30:00.000Z",
"updatedAt": "2026-01-15T10:30:00.000Z"
}
Field Type Description
id number Unique identifier
name string Organization name
slug string URL-friendly unique slug
description string Organization description
industry string Industry sector
size string Organization size
website string Website URL
logo string Logo image URL
createdAt string ISO 8601 timestamp
updatedAt string ISO 8601 timestamp
Terminal window
curl https://api.phantomjson.app/v1/organizations
Parameter Type Default Description
page number 1 Page number
limit number 20 Items per page (max: 100)
sort string Sort field and direction
q string Search query
fields string Fields to return
industry string Filter by industry
size string Filter by size
{
"data": [
{
"id": 1,
"name": "Acme Corporation",
"slug": "acme-corporation",
"industry": "Technology",
"size": "enterprise"
}
],
"meta": {
"total": 20,
"page": 1,
"limit": 20,
"totalPages": 1
}
}
Terminal window
curl https://api.phantomjson.app/v1/organizations/1
{
"data": {
"id": 1,
"name": "Acme Corporation",
"slug": "acme-corporation",
"description": "Acme Corporation is a leading provider of innovative solutions.",
"industry": "Technology",
"size": "enterprise",
"website": "https://example.com",
"logo": "https://example.com/logo.png"
}
}
Terminal window
curl https://api.phantomjson.app/v1/organizations/1/departments
{
"data": [
{
"id": 1,
"organizationId": 1,
"name": "Engineering",
"slug": "engineering",
"description": "Software engineering department"
}
],
"meta": {
"total": 5,
"page": 1,
"limit": 20,
"totalPages": 1
}
}
Terminal window
curl https://api.phantomjson.app/v1/organizations/1/employees
{
"data": [
{
"id": 1,
"organizationId": 1,
"firstName": "Alice",
"lastName": "Johnson",
"email": "alice@example.com",
"jobTitle": "Software Engineer"
}
],
"meta": {
"total": 50,
"page": 1,
"limit": 20,
"totalPages": 3
}
}
Terminal window
curl https://api.phantomjson.app/v1/organizations/1/projects
{
"data": [
{
"id": 1,
"organizationId": 1,
"name": "Project Alpha",
"slug": "project-alpha",
"status": "planning"
}
],
"meta": {
"total": 10,
"page": 1,
"limit": 20,
"totalPages": 1
}
}
Terminal window
curl "https://api.phantomjson.app/v1/organizations?q=acme"
Terminal window
curl "https://api.phantomjson.app/v1/organizations?industry=technology"
Terminal window
curl "https://api.phantomjson.app/v1/organizations?size=enterprise"
Terminal window
curl "https://api.phantomjson.app/v1/organizations?fields=id,name,industry,size"
Terminal window
# Large technology companies sorted by name
curl "https://api.phantomjson.app/v1/organizations?industry=technology&size=enterprise&sort=name:asc&fields=id,name,size"

Available industry sectors:

  • Technology
  • Finance
  • Healthcare
  • Education
  • Retail
  • Manufacturing
  • Energy
  • Media
  • Agriculture
  • Construction
  • Transportation
  • Hospitality
  • Real Estate
  • Telecommunications
  • Entertainment

Available organization sizes:

  • startup
  • small
  • medium
  • large
  • enterprise
  • Departments — Each organization has many departments (access via /v1/organizations/:id/departments)
  • Employees — Each organization has many employees (access via /v1/organizations/:id/employees)
  • Teams — Each organization has many teams
  • Projects — Each organization has many projects (access via /v1/organizations/:id/projects)