---
updatedAt: 2026-07-27T18:29:36.000Z
agentTools:
  projectIndex: https://developer.demandbase.com/llms.txt
---

# Fetch company details

Use this endpoint to fetch detailed information about a single company, including name, location, phone number, revenue, employee count, industry classification, and social media links.

You can optionally expand the response to include related data such as the company's family tree, competitors, installed technologies, and logos.

Installed technologies are returned under `techUsed`, grouped by category, subcategory, and product. The response includes taxonomy identifiers and display names; it does not include confidence, observation dates, vendor, or product descriptions.

# OpenAPI definition

````json
{
  "openapi": "3.0.1",
  "info": {
    "version": "1.0",
    "title": "B2B API",
    "description": "The B2B API provides access to endpoints for searching, retrieving, and matching company and contact data.\n\nIt includes support for:\n- **Company records:** Firmographic details, news, technologies, and more.\n- **Contact records:** Current role, employment history, and professional details.\n- **Demandbase Person profiles:** Persistent identities tied to individuals across multiple roles or companies.\n- **Subscriptions:** Monitoring updates to companies and DB Person records.\n## Authentication\nAll requests to the B2B API must be authenticated using a valid API token. If authentication fails, the API will respond with a `401 Unauthorized` status code.\n### Obtaining an API Token\nFor instructions on generating API tokens, see the [Generate and Manage API Key Set](https://support.demandbase.com/hc/en-us/articles/38999526296603-Generate-and-Manage-API-Key-Set) article at the Demandbase Help Center.\n### Authorization Header\nInclude your API token in the `Authorization` header of each request using the Bearer token scheme. Also set the `Content-Type` header to `application/json` when sending JSON payloads.\n#### Example\n```\nAuthorization: Bearer YOUR_API_KEY_HERE\nContent-Type: application/json\n```\n\n> **Note:** Tokens should be treated as sensitive credentials. Do not expose them in public code repositories or client-side applications.",
    "contact": {
      "name": "Support",
      "url": "https://www.demandbase.com/",
      "email": "support@demandbase.com"
    }
  },
  "servers": [
    {
      "url": "https://uapi.demandbase.com/data/b2b/v1",
      "description": "Server URL in Production environment"
    }
  ],
  "paths": {
    "/company/{companyId}": {
      "get": {
        "tags": [
          "Sync API"
        ],
        "summary": "Fetch company details",
        "description": "Use this endpoint to fetch detailed information about a single company, including name, location, phone number, revenue, employee count, industry classification, and social media links.\n\nYou can optionally expand the response to include related data such as the company's family tree, competitors, installed technologies, and logos.\n\nInstalled technologies are returned under `techUsed`, grouped by category, subcategory, and product. The response includes taxonomy identifiers and display names; it does not include confidence, observation dates, vendor, or product descriptions.",
        "operationId": "companyFetch",
        "parameters": [
          {
            "name": "fields",
            "in": "query",
            "description": "Comma-separated related-data expansions. Use `installedtech` to include technographics under `techUsed`.",
            "required": false,
            "style": "form",
            "explode": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "familytree",
                  "competitors",
                  "logos",
                  "installedtech"
                ]
              }
            },
            "example": [
              "familytree",
              "competitors"
            ]
          },
          {
            "name": "sortBy",
            "in": "query",
            "description": "Sort order for family tree results.",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "popularity"
              ]
            }
          },
          {
            "name": "companyFields",
            "in": "query",
            "description": "Comma-separated company fields to retrieve.",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "companyId",
            "in": "path",
            "description": "Company ID",
            "required": true,
            "schema": {
              "type": "string",
              "example": "725771"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Company details fetched successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CompanyFetchResponseDTO"
                },
                "examples": {
                  "Company Details Response": {
                    "$ref": "#/components/examples/CompanyDetailsResponse"
                  },
                  "Company Family Tree Response": {
                    "$ref": "#/components/examples/CompanyFamilyTreeResponse"
                  },
                  "Company Competitors Response": {
                    "$ref": "#/components/examples/CompanyCompetitorsResponse"
                  },
                  "Company Installed Tech Response": {
                    "$ref": "#/components/examples/CompanyInstalledTechResponse"
                  },
                  "Company Logos Response": {
                    "$ref": "#/components/examples/CompanyLogosResponse"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/CompanyFetchResponseDTO"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "InvalidCompanyIdErrorResponse": {
                    "description": "InvalidCompanyIdErrorResponse",
                    "value": {
                      "errorCode": "400-103",
                      "errorMessage": "companyId must be an integer.",
                      "diagnosticCode": "ccb84f25-236e-4bcf-be01-88b7dd673fb4"
                    }
                  },
                  "InvalidFieldErrorResponse": {
                    "description": "InvalidFieldErrorResponse",
                    "value": {
                      "errorCode": "400-106",
                      "errorMessage": "Invalid field name.",
                      "diagnosticCode": "ccb84f25-236e-4bcf-be01-88b7dd673fb4"
                    }
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "InvalidCompanyIdErrorResponseXml": {
                    "description": "InvalidCompanyIdErrorResponseXml",
                    "value": {
                      "errorCode": "400-103",
                      "errorMessage": "companyId must be an integer.",
                      "diagnosticCode": "ccb84f25-236e-4bcf-be01-88b7dd673fb4"
                    }
                  },
                  "InvalidFieldErrorResponseXml": {
                    "description": "InvalidFieldErrorResponseXml",
                    "value": {
                      "errorCode": "400-106",
                      "errorMessage": "Invalid field name.",
                      "diagnosticCode": "ccb84f25-236e-4bcf-be01-88b7dd673fb4"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized because the user is not authenticated.",
            "content": {
              "application/json": {
                "examples": {
                  "UnauthorizedResponse": {
                    "description": "UnauthorizedResponse",
                    "value": {
                      "status": "Authentication Failed - Unauthorized."
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Bad request because the company does not exist.",
            "content": {
              "application/json": {
                "examples": {
                  "CompanyNotFoundErrorResponse": {
                    "description": "CompanyNotFoundErrorResponse",
                    "value": {
                      "errorCode": "404-100",
                      "errorMessage": "Invalid ID, record not found.",
                      "diagnosticCode": "ccb84f25-236e-4bcf-be01-88b7dd673fb4"
                    }
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "title": "error",
                  "format": "xml"
                },
                "examples": {
                  "CompanyNotFoundErrorResponseXml": {
                    "description": "CompanyNotFoundErrorResponseXml",
                    "value": {
                      "errorCode": "404-100",
                      "errorMessage": "Invalid ID, record not found.",
                      "diagnosticCode": "ccb84f25-236e-4bcf-be01-88b7dd673fb4"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "servers": [
          {
            "url": "https://uapi.demandbase.com/data/b2b/v1",
            "description": "Server URL in Production environment"
          }
        ]
      }
    }
  },
  "tags": [
    {
      "name": "Sync API",
      "description": "Synchronous company, contact, matching, news, and logo operations."
    }
  ],
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "description": "[<span style=\"text-decoration:underline;color:blue; font-size:1.25em\">How To Generate Bearer Tokens</span>](https://developer.demandbase.com/docs/auth-api)",
        "scheme": "bearer"
      }
    },
    "examples": {
      "CompanyDetailsResponse": {
        "description": "Company Details Response",
        "value": {
          "companyId": 726263,
          "companyName": "Microsoft Corporation",
          "companyType": "Public",
          "companyStatus": "Operating",
          "tickers": [
            {
              "tickerName": "MSFT",
              "exchange": "NASD"
            }
          ],
          "classification": {
            "primaryBusiness": {
              "industry": "Computer Software",
              "industryCode": "8"
            },
            "secondaryBusinesses": [
              {
                "industry": "Computer Software",
                "industryCode": "8",
                "subIndustry": "Enterprise Resource Planning Software",
                "subIndustryCode": "8_32"
              }
            ]
          },
          "address": {
            "street": "One Microsoft Way",
            "city": "Redmond",
            "state": "WA",
            "zip": "98052-6399",
            "country": "US",
            "latitude": "47.6400493830442",
            "longitude": "-122.129796892405"
          },
          "phone": "+1 425 882 8080",
          "revenue": 245122,
          "revenueCurrency": "USD",
          "employeeCount": 228000,
          "sic": "7371",
          "sicDescription": "Services-Computer Programming Services",
          "naics": "5132",
          "naicsDescription": "Software Publishers",
          "financialYearEnd": "6",
          "equifaxId": "049615062",
          "companyTaxId": "911144442",
          "britishSics": [
            {
              "britishSic": "58290",
              "description": "Other software publishing"
            },
            {
              "britishSic": "46510",
              "description": "Wholesale of computers, computer peripheral equipment and software"
            }
          ],
          "foundedIn": "1975",
          "socialHandles": {
            "twitter": "https://twitter.com/microsoftindia",
            "facebook": "https://www.facebook.com/microsoft",
            "blog": "https://news.microsoft.com/feed/",
            "linkedIn": "https://www.linkedin.com/company/microsoft"
          },
          "siteTypes": [
            "Uncategorized"
          ],
          "siteCount": 276,
          "siteLocationCount": 82,
          "businessStructure": "Global Parent",
          "websites": [
            "https://www.microsoft.com/en-us/"
          ]
        }
      },
      "CompanyFamilyTreeResponse": {
        "description": "Company Family Tree Response",
        "value": {
          "companyId": 726263,
          "companyName": "Microsoft Corporation",
          "companyType": "Public",
          "companyStatus": "Operating",
          "tickers": [
            {
              "tickerName": "MSFT",
              "exchange": "NASD"
            }
          ],
          "classification": {
            "primaryBusiness": {
              "industry": "Computer Software",
              "industryCode": "8"
            },
            "secondaryBusinesses": [
              {
                "industry": "Computer Software",
                "industryCode": "8",
                "subIndustry": "Enterprise Resource Planning Software",
                "subIndustryCode": "8_32"
              }
            ]
          },
          "address": {
            "street": "One Microsoft Way",
            "city": "Redmond",
            "state": "WA",
            "zip": "98052-6399",
            "country": "US",
            "latitude": "47.6400493830442",
            "longitude": "-122.129796892405"
          },
          "phone": "+1 425 882 8080",
          "revenue": 245122,
          "revenueCurrency": "USD",
          "employeeCount": 228000,
          "sic": "7371",
          "sicDescription": "Services-Computer Programming Services",
          "naics": "5132",
          "naicsDescription": "Software Publishers",
          "financialYearEnd": "6",
          "equifaxId": "049615062",
          "companyTaxId": "911144442",
          "britishSics": [
            {
              "britishSic": "58290",
              "description": "Other software publishing"
            },
            {
              "britishSic": "46510",
              "description": "Wholesale of computers, computer peripheral equipment and software"
            }
          ],
          "foundedIn": "1975",
          "socialHandles": {
            "twitter": "https://twitter.com/microsoftindia",
            "facebook": "https://www.facebook.com/microsoft",
            "blog": "https://news.microsoft.com/feed/",
            "linkedIn": "https://www.linkedin.com/company/microsoft"
          },
          "siteTypes": [
            "Uncategorized"
          ],
          "siteCount": 276,
          "siteLocationCount": 82,
          "businessStructure": "Global Parent",
          "websites": [
            "https://www.microsoft.com/en-us/"
          ],
          "familyTree": {
            "company": {
              "companyId": 1,
              "name": "Microsoft",
              "city": "Redmond",
              "state": "WA",
              "country": "US"
            },
            "children": [
              {
                "company": {
                  "companyId": 2,
                  "name": "Microsoft India",
                  "city": "Bangalore",
                  "state": "KA",
                  "country": "IN"
                },
                "children": [
                  {
                    "company": {
                      "companyId": 3,
                      "name": "Microsoft India Pvt Ltd",
                      "city": "Bangalore",
                      "state": "KA",
                      "country": "IN"
                    }
                  }
                ]
              }
            ]
          },
          "acquisitions": {
            "companies": [
              {
                "companyId": 2,
                "name": "Microsoft India",
                "city": "Bangalore",
                "state": "KA",
                "country": "IN"
              }
            ]
          }
        }
      },
      "CompanyCompetitorsResponse": {
        "description": "Company Competitors Response",
        "value": {
          "companyId": 726263,
          "companyName": "Microsoft Corporation",
          "companyType": "Public",
          "companyStatus": "Operating",
          "tickers": [
            {
              "tickerName": "MSFT",
              "exchange": "NASD"
            }
          ],
          "classification": {
            "primaryBusiness": {
              "industry": "Computer Software",
              "industryCode": "8"
            },
            "secondaryBusinesses": [
              {
                "industry": "Computer Software",
                "industryCode": "8",
                "subIndustry": "Enterprise Resource Planning Software",
                "subIndustryCode": "8_32"
              }
            ]
          },
          "address": {
            "street": "One Microsoft Way",
            "city": "Redmond",
            "state": "WA",
            "zip": "98052-6399",
            "country": "US",
            "latitude": "47.6400493830442",
            "longitude": "-122.129796892405"
          },
          "phone": "+1 425 882 8080",
          "revenue": 245122,
          "revenueCurrency": "USD",
          "employeeCount": 228000,
          "sic": "7371",
          "sicDescription": "Services-Computer Programming Services",
          "naics": "5132",
          "naicsDescription": "Software Publishers",
          "financialYearEnd": "6",
          "equifaxId": "049615062",
          "companyTaxId": "911144442",
          "britishSics": [
            {
              "britishSic": "58290",
              "description": "Other software publishing"
            },
            {
              "britishSic": "46510",
              "description": "Wholesale of computers, computer peripheral equipment and software"
            }
          ],
          "foundedIn": "1975",
          "socialHandles": {
            "twitter": "https://twitter.com/microsoftindia",
            "facebook": "https://www.facebook.com/microsoft",
            "blog": "https://news.microsoft.com/feed/",
            "linkedIn": "https://www.linkedin.com/company/microsoft"
          },
          "siteTypes": [
            "Uncategorized"
          ],
          "siteCount": 276,
          "siteLocationCount": 82,
          "businessStructure": "Global Parent",
          "websites": [
            "https://www.microsoft.com/en-us/"
          ],
          "competitors": [
            {
              "name": "Red Hat Inc",
              "city": "Raleigh",
              "state": "NC",
              "country": "US",
              "companyId": 732237
            },
            {
              "name": "Adobe Systems Incorporated",
              "city": "San Jose",
              "state": "CA",
              "country": "US",
              "companyId": 724292
            }
          ]
        }
      },
      "CompanyInstalledTechResponse": {
        "description": "Company Installed Tech Response",
        "value": {
          "companyId": 726263,
          "companyName": "Microsoft Corporation",
          "companyType": "Public",
          "companyStatus": "Operating",
          "tickers": [
            {
              "tickerName": "MSFT",
              "exchange": "NASD"
            }
          ],
          "classification": {
            "primaryBusiness": {
              "industry": "Computer Software",
              "industryCode": "8"
            },
            "secondaryBusinesses": [
              {
                "industry": "Computer Software",
                "industryCode": "8",
                "subIndustry": "Enterprise Resource Planning Software",
                "subIndustryCode": "8_32"
              }
            ]
          },
          "address": {
            "street": "One Microsoft Way",
            "city": "Redmond",
            "state": "WA",
            "zip": "98052-6399",
            "country": "US",
            "latitude": "47.6400493830442",
            "longitude": "-122.129796892405"
          },
          "phone": "+1 425 882 8080",
          "revenue": 245122,
          "revenueCurrency": "USD",
          "employeeCount": 228000,
          "sic": "7371",
          "sicDescription": "Services-Computer Programming Services",
          "naics": "5132",
          "naicsDescription": "Software Publishers",
          "financialYearEnd": "6",
          "equifaxId": "049615062",
          "companyTaxId": "911144442",
          "britishSics": [
            {
              "britishSic": "58290",
              "description": "Other software publishing"
            },
            {
              "britishSic": "46510",
              "description": "Wholesale of computers, computer peripheral equipment and software"
            },
            {
              "britishSic": "62011",
              "description": "Ready-made interactive leisure and entertainment software development"
            },
            {
              "britishSic": "58210",
              "description": "Publishing of computer games"
            }
          ],
          "foundedIn": "1975",
          "socialHandles": {
            "twitter": "https://twitter.com/microsoftindia",
            "facebook": "https://www.facebook.com/microsoft",
            "blog": "https://news.microsoft.com/feed/",
            "linkedIn": "https://www.linkedin.com/company/microsoft"
          },
          "siteTypes": [
            "Uncategorized"
          ],
          "siteCount": 276,
          "siteLocationCount": 82,
          "businessStructure": "Global Parent",
          "websites": [
            "https://www.microsoft.com/en-us/"
          ],
          "techUsed": {
            "categories": [
              {
                "categoryId": "52",
                "categoryName": "AR/VR",
                "subCategories": [
                  {
                    "subCategoryId": "5000773",
                    "subCategoryName": "AR/VR Wearable",
                    "products": [
                      {
                        "productId": "DM17112",
                        "productName": "Hololens2"
                      },
                      {
                        "productId": "DM10556",
                        "productName": "Oculus Rift"
                      }
                    ]
                  },
                  {
                    "subCategoryId": "5000160",
                    "subCategoryName": "Augmented Reality Software",
                    "products": [
                      {
                        "productId": "DM10598",
                        "productName": "Microsoft Dynamics 365 Product Visualize"
                      }
                    ]
                  },
                  {
                    "subCategoryId": "5000388",
                    "subCategoryName": "Virtual Reality Software",
                    "products": [
                      {
                        "productId": "DM02373",
                        "productName": "Cryengine"
                      }
                    ]
                  }
                ]
              },
              {
                "categoryId": "61",
                "categoryName": "Analytics",
                "subCategories": [
                  {
                    "subCategoryId": "5000076",
                    "subCategoryName": "Business Intelligence Software",
                    "products": [
                      {
                        "productId": "DM01069",
                        "productName": "Axio"
                      },
                      {
                        "productId": "DM02743",
                        "productName": "Domo"
                      },
                      {
                        "productId": "DM12976",
                        "productName": "Halo"
                      },
                      {
                        "productId": "DM05198",
                        "productName": "Kxen"
                      },
                      {
                        "productId": "DM05911",
                        "productName": "Microsoft Power Bi"
                      },
                      {
                        "productId": "DM12721",
                        "productName": "Nicepeopleatwork"
                      },
                      {
                        "productId": "DM07982",
                        "productName": "SAP Visual Intelligence"
                      },
                      {
                        "productId": "DM09374",
                        "productName": "Twitter Website Universal Tag"
                      }
                    ]
                  },
                  {
                    "subCategoryId": "5000854",
                    "subCategoryName": "Data Science and Machine Learning",
                    "products": [
                      {
                        "productId": "DM20720",
                        "productName": "Google Cloud AI Platform"
                      }
                    ]
                  },
                  {
                    "subCategoryId": "5000506",
                    "subCategoryName": "Data Virtualization Software",
                    "products": [
                      {
                        "productId": "DM12093",
                        "productName": "Grafana"
                      }
                    ]
                  },
                  {
                    "subCategoryId": "5000020",
                    "subCategoryName": "Enterprise Search Software",
                    "products": [
                      {
                        "productId": "DM02319",
                        "productName": "Coveo"
                      },
                      {
                        "productId": "DM02928",
                        "productName": "Elasticsearch"
                      },
                      {
                        "productId": "DM07989",
                        "productName": "SAS"
                      }
                    ]
                  },
                  {
                    "subCategoryId": "5000857",
                    "subCategoryName": "Image and Video Analysis",
                    "products": [
                      {
                        "productId": "DM20735",
                        "productName": "Google Cloud Translation API"
                      }
                    ]
                  },
                  {
                    "subCategoryId": "5000482",
                    "subCategoryName": "Information Technology Management",
                    "products": [
                      {
                        "productId": "DM03655",
                        "productName": "Gist"
                      }
                    ]
                  },
                  {
                    "subCategoryId": "5000033",
                    "subCategoryName": "Other Analytics Software",
                    "products": [
                      {
                        "productId": "DM16925",
                        "productName": "ELK Stack"
                      },
                      {
                        "productId": "DM17008",
                        "productName": "Google Crashlytics"
                      },
                      {
                        "productId": "DM20375",
                        "productName": "Microsoft Azure Data Explorer"
                      }
                    ]
                  },
                  {
                    "subCategoryId": "5000078",
                    "subCategoryName": "Predictive Analytics Software",
                    "products": [
                      {
                        "productId": "DM04367",
                        "productName": "IBM Spss"
                      },
                      {
                        "productId": "DM04631",
                        "productName": "Innovyze"
                      },
                      {
                        "productId": "DM05089",
                        "productName": "Kaggle"
                      }
                    ]
                  },
                  {
                    "subCategoryId": "5000232",
                    "subCategoryName": "Professional Services",
                    "products": [
                      {
                        "productId": "DM01294",
                        "productName": "Bloomberg"
                      },
                      {
                        "productId": "DM09095",
                        "productName": "Thomson Reuters"
                      }
                    ]
                  },
                  {
                    "subCategoryId": "5000365",
                    "subCategoryName": "Reporting",
                    "products": [
                      {
                        "productId": "DM17811",
                        "productName": "Servicenow Reporting"
                      }
                    ]
                  },
                  {
                    "subCategoryId": "5000552",
                    "subCategoryName": "Social Media Marketing",
                    "products": [
                      {
                        "productId": "DM13407",
                        "productName": "Socialbakers"
                      },
                      {
                        "productId": "DM15002",
                        "productName": "Talkwalker"
                      }
                    ]
                  }
                ]
              }
            ]
          }
        }
      },
      "CompanyLogosResponse": {
        "description": "Company Logos Response",
        "value": {
          "companyId": 578458,
          "companyName": "Analysis Group, Inc.",
          "companyType": "Private",
          "companyStatus": "Operating",
          "tickers": [],
          "classification": {
            "primaryBusiness": {
              "industry": "Corporate Services",
              "industryCode": "229",
              "subIndustry": "Management Consulting",
              "subIndustryCode": "257"
            },
            "secondaryBusinesses": []
          },
          "address": {
            "street": "111 Huntington Avenue Tenth Floor",
            "city": "Boston",
            "state": "MA",
            "zip": "02199",
            "country": "US"
          },
          "phone": "+1 617 425 8000",
          "revenue": 43.75,
          "revenueCurrency": "USD",
          "employeeCount": 500,
          "sic": "8742",
          "sicDescription": "Services-Management Consulting Services",
          "naics": "541611",
          "naicsDescription": "Administrative Management and General Management Consulting Services",
          "equifaxId": "049615062",
          "britishSics": [
            {
              "britishSic": "71122",
              "description": "Engineering related scientific and technical consulting activities"
            },
            {
              "britishSic": "70229",
              "description": "Management consultancy activities other than financial management"
            }
          ],
          "foundedIn": "1981",
          "socialHandles": {
            "twitter": "https://twitter.com/analysisgroup",
            "facebook": "https://www.facebook.com/analysisgroup",
            "linkedIn": "https://www.linkedin.com/company/analysis-group"
          },
          "diversity": {
            "gender": "Female",
            "ethnicity": "African American",
            "certifications": {
              "wbe": true,
              "mbe": true,
              "vbe": true,
              "disabled": false,
              "dbe": true,
              "lgbt": false
            }
          },
          "siteTypes": [
            "Uncategorized"
          ],
          "businessStructure": "Independent",
          "websites": [
            "https://www.analysisgroup.com/"
          ],
          "companyLogos": [
            "https://uapi.demandbase.com/data/b2b/v1/company/578458/logos/100",
            "https://uapi.demandbase.com/data/b2b/v1/company/578458/logos/200",
            "https://uapi.demandbase.com/data/b2b/v1/company/578458/logos/400"
          ]
        }
      }
    },
    "schemas": {
      "ErrorResponse": {
        "type": "object",
        "properties": {
          "errorCode": {
            "type": "string"
          },
          "errorMessage": {
            "type": "string"
          },
          "diagnosticCode": {
            "type": "string"
          }
        },
        "xml": {
          "name": "error"
        }
      },
      "CompanyDTO": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "companyId": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CompanyAddressDTO": {
        "type": "object",
        "description": "Company address. State and country are returned as codes when available.",
        "properties": {
          "street": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "state": {
            "type": "string",
            "description": "State or province code.",
            "example": "WA"
          },
          "zip": {
            "type": "string"
          },
          "country": {
            "type": "string",
            "description": "ISO 3166-1 alpha-2 country code.",
            "example": "US"
          },
          "latitude": {
            "type": "string"
          },
          "longitude": {
            "type": "string"
          },
          "area": {
            "type": "string"
          }
        }
      },
      "CompanyFetchResponseDTO": {
        "type": "object",
        "properties": {
          "companyId": {
            "type": "integer",
            "format": "int32"
          },
          "companyName": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "companyType": {
            "type": "string"
          },
          "companyStatus": {
            "type": "string"
          },
          "tickers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TickerDTO"
            },
            "xml": {
              "wrapped": true
            }
          },
          "classification": {
            "$ref": "#/components/schemas/ClassificationDTO"
          },
          "address": {
            "$ref": "#/components/schemas/CompanyAddressDTO"
          },
          "phone": {
            "type": "string"
          },
          "revenue": {
            "type": "number",
            "format": "double",
            "description": "Annual revenue in millions."
          },
          "revenueCurrency": {
            "type": "string"
          },
          "employeeCount": {
            "type": "integer",
            "format": "int32"
          },
          "sic": {
            "type": "string"
          },
          "sicDescription": {
            "type": "string"
          },
          "naics": {
            "type": "string"
          },
          "naicsDescription": {
            "type": "string"
          },
          "financialYearEnd": {
            "type": "string"
          },
          "equifaxId": {
            "type": "string"
          },
          "companyTaxId": {
            "type": "string"
          },
          "fortuneRanking": {
            "type": "string"
          },
          "britishSics": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BritishSicDTO"
            },
            "xml": {
              "wrapped": true
            }
          },
          "foundedIn": {
            "type": "string"
          },
          "socialHandles": {
            "$ref": "#/components/schemas/SocialHandlesDTO"
          },
          "diversity": {
            "$ref": "#/components/schemas/DiversityDTO"
          },
          "siteTypes": {
            "type": "array",
            "items": {
              "type": "string",
              "xml": {
                "name": "siteType"
              }
            },
            "xml": {
              "wrapped": true
            }
          },
          "siteCount": {
            "type": "integer",
            "format": "int32"
          },
          "siteLocationCount": {
            "type": "integer",
            "format": "int32"
          },
          "businessStructure": {
            "type": "string"
          },
          "currentCompanyId": {
            "type": "integer",
            "format": "int32"
          },
          "websites": {
            "type": "array",
            "items": {
              "type": "string",
              "xml": {
                "name": "website"
              }
            },
            "xml": {
              "wrapped": true
            }
          },
          "companyCompetitorIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "familyTree": {
            "$ref": "#/components/schemas/FamilyTreeResultDTO"
          },
          "acquisitions": {
            "$ref": "#/components/schemas/AcquiredCompanyResultDTO"
          },
          "techUsed": {
            "$ref": "#/components/schemas/CompanyTechUsedDTO"
          },
          "companyLogos": {
            "type": "array",
            "items": {
              "type": "string",
              "xml": {
                "name": "companyLogo"
              }
            },
            "xml": {
              "wrapped": true
            }
          },
          "competitors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CompanyDTO"
            },
            "xml": {
              "wrapped": true
            }
          }
        },
        "xml": {
          "name": "company"
        }
      },
      "TickerDTO": {
        "type": "object",
        "properties": {
          "tickerName": {
            "type": "string"
          },
          "exchange": {
            "type": "string"
          }
        }
      },
      "ClassificationDTO": {
        "type": "object",
        "properties": {
          "primaryBusiness": {
            "$ref": "#/components/schemas/BusinessDTO"
          },
          "secondaryBusinesses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BusinessDTO"
            },
            "xml": {
              "wrapped": true
            }
          }
        }
      },
      "BusinessDTO": {
        "type": "object",
        "properties": {
          "industry": {
            "type": "string"
          },
          "industryCode": {
            "type": "string"
          },
          "subIndustry": {
            "type": "string"
          },
          "subIndustryCode": {
            "type": "string"
          }
        }
      },
      "BritishSicDTO": {
        "type": "object",
        "properties": {
          "britishSic": {
            "type": "string"
          },
          "description": {
            "type": "string"
          }
        }
      },
      "SocialHandlesDTO": {
        "type": "object",
        "properties": {
          "twitter": {
            "type": "string"
          },
          "facebook": {
            "type": "string"
          },
          "blog": {
            "type": "string"
          },
          "linkedIn": {
            "type": "string"
          }
        }
      },
      "DiversityDTO": {
        "type": "object",
        "properties": {
          "gender": {
            "type": "string"
          },
          "ethnicity": {
            "type": "string"
          },
          "certifications": {
            "$ref": "#/components/schemas/DiversityCertificationsDTO"
          }
        }
      },
      "DiversityCertificationsDTO": {
        "type": "object",
        "properties": {
          "wbe": {
            "type": "boolean"
          },
          "mbe": {
            "type": "boolean"
          },
          "vbe": {
            "type": "boolean"
          },
          "disabled": {
            "type": "boolean"
          },
          "dbe": {
            "type": "boolean"
          },
          "lgbt": {
            "type": "boolean"
          }
        }
      },
      "FamilyTreeResultDTO": {
        "type": "object",
        "properties": {
          "company": {
            "$ref": "#/components/schemas/CompanyDTO"
          },
          "children": {
            "type": "array",
            "uniqueItems": true,
            "items": {
              "$ref": "#/components/schemas/FamilyTreeResultDTO"
            },
            "xml": {
              "wrapped": true
            }
          }
        }
      },
      "AcquiredCompanyResultDTO": {
        "type": "object",
        "properties": {
          "companies": {
            "type": "array",
            "uniqueItems": true,
            "items": {
              "$ref": "#/components/schemas/CompanyDTO"
            },
            "xml": {
              "wrapped": true
            }
          }
        }
      },
      "CompanyTechUsedDTO": {
        "type": "object",
        "description": "Installed technology information grouped by category and subcategory.",
        "properties": {
          "categories": {
            "type": "array",
            "description": "Technology categories associated with the company.",
            "items": {
              "$ref": "#/components/schemas/TechUsedCategoryDTO"
            },
            "xml": {
              "wrapped": true
            }
          }
        }
      },
      "TechUsedCategoryDTO": {
        "type": "object",
        "description": "A technology category and its subcategories.",
        "properties": {
          "categoryId": {
            "type": "string",
            "description": "Demandbase identifier for the technology category.",
            "example": "61"
          },
          "categoryName": {
            "type": "string",
            "description": "Display name of the technology category.",
            "example": "Analytics"
          },
          "subCategories": {
            "type": "array",
            "description": "Technology subcategories within the category.",
            "items": {
              "$ref": "#/components/schemas/TechUsedSubCategoryDTO"
            },
            "xml": {
              "wrapped": true
            }
          }
        }
      },
      "TechUsedSubCategoryDTO": {
        "type": "object",
        "description": "A technology subcategory and its detected products.",
        "properties": {
          "subCategoryId": {
            "type": "string",
            "description": "Demandbase identifier for the technology subcategory.",
            "example": "5000076"
          },
          "subCategoryName": {
            "type": "string",
            "description": "Display name of the technology subcategory.",
            "example": "Business Intelligence Software"
          },
          "products": {
            "type": "array",
            "description": "Products detected for the company within the subcategory.",
            "items": {
              "$ref": "#/components/schemas/TechUsedProductDTO"
            },
            "xml": {
              "wrapped": true
            }
          }
        }
      },
      "TechUsedProductDTO": {
        "type": "object",
        "description": "A product detected for the company.",
        "properties": {
          "productId": {
            "type": "string",
            "description": "Demandbase identifier for the product.",
            "example": "DM01069"
          },
          "productName": {
            "type": "string",
            "description": "Display name of the product.",
            "example": "Axio"
          }
        }
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ]
}
````