Skip to content

Resource Counts

Get resource count data for a company

🚧 Access Limitation Notice:

The Company Insights Cards API endpoint is only available for entities that have been validated and uniquely identified by our curation team. This ensures high-quality, accurate insights about your companies of interest.

Query Parameters:

ParameterRequiredDescription
intervalTypeYesTime interval (LAST_7_DAYS, LAST_30_DAYS, LAST_3_MONTHS, LAST_6_MONTHS, LAST_1_YEAR)
requestTypeYesMust be set to insightCard

JSON Body Parameters:

ParameterRequiredDescription
searchLayersYesJSON object specifying company ID with "about" salience (see example below)

OpenAPI definition

json
{
  "openapi": "3.1.0",
  "info": {
    "title": "ML Endpoint",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.feedly.com/v3/ml"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-bearer-format": "bearer"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/ner-gazetteer/resource-count": {
      "post": {
        "summary": "Resource Counts",
        "description": "Get resource count data for a company",
        "operationId": "resource-counts",
        "parameters": [
          {
            "name": "intervalType",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "default": "LAST_7_DAYS"
            }
          },
          {
            "name": "requestType",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "default": "insightCard"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "RAW_BODY"
                ],
                "properties": {
                  "RAW_BODY": {
                    "type": "string",
                    "default": "{\"searchLayers\":[{\"parts\":[{\"id\":\"nlp/f/entity/gz:org:openai\"}],\"salience\":\"about\",\"type\":\"matches\"}]}",
                    "format": "json"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "660334c44e14a80012542b9a:67d1b50c714835006993727a"
}