{
  "openapi": "3.1.0",
  "info": {
    "title": "Engagemii Data API",
    "version": "1.2.0",
    "summary": "AI visibility records for 82 million companies: the AI visibility score with its on-page and off-page parts, the agent readiness index, the AI adoption index, AI engine reads and AI naming, category, location, tech stack and social profiles.",
    "description": "Company records from the Engagemii index over REST. One key, four endpoints: GET /info (your account and limits), GET /lookup (one website in, one record out), POST /records (records by filter, paged) and GET /orders (your data files). Every record returned costs 1 unit; nothing else is charged. Company data costs 10 cents a company, 5 cents from 5,000 companies (the rate for the order size applies to the whole order, and buying more never costs less); a list or file order is at least 500 companies and $40. GET /info states these numbers in its pricing object. Free lookups depend on the account: a data account gets 20, one time; an agency account gets 1 as a sample, then 2 a month while the Agency plan is paid; a brand account has no lookups (its key answers 403 brand_account). Human-readable docs: https://engagemii.com/aeo/data/api. What each column means: https://engagemii.com/aeo/data/dictionary. Scores and company data are automated estimates, provided as is, not investment advice.",
    "termsOfService": "https://engagemii.com/aeo/data/license",
    "contact": {
      "name": "Engagemii",
      "url": "https://engagemii.com",
      "email": "gp@engagemii.com"
    },
    "license": {
      "name": "Engagemii Data License Agreement",
      "url": "https://engagemii.com/aeo/data/license"
    }
  },
  "externalDocs": {
    "description": "API documentation",
    "url": "https://engagemii.com/aeo/data/api"
  },
  "servers": [
    {
      "url": "https://api.engagemii.com/api/v1/data"
    }
  ],
  "security": [
    {
      "ApiKey": []
    }
  ],
  "tags": [
    {
      "name": "Account",
      "description": "Your account, units and limits."
    },
    {
      "name": "Records",
      "description": "Company records: the same columns as a data file, in the same order. Every column is filled where we hold the data, the same as in a data file."
    }
  ],
  "paths": {
    "/info": {
      "get": {
        "tags": [
          "Account"
        ],
        "operationId": "getInfo",
        "summary": "Your account, units left and rate limits",
        "description": "Costs nothing. Call it to check units before a large pull.",
        "responses": {
          "200": {
            "description": "Account",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Info"
                },
                "example": {
                  "email": "you@yourcompany.com",
                  "companyName": "Your Co",
                  "apiQuotaTotal": 900000,
                  "apiQuotaRemaining": 847200,
                  "freeLookupsRemaining": 20,
                  "freeLookupRule": "A data account gets 20 free lookups, one time. After that, lookups are paid.",
                  "pricing": {
                    "perCompanyUsd": 0.1,
                    "volumePerCompanyUsd": 0.05,
                    "volumeFromCompanies": 5000,
                    "minOrderCompanies": 500,
                    "minOrderUsd": 40,
                    "unitsPerRecord": 1,
                    "publicCompanyUnitsPerRecord": 10,
                    "topUpUrl": "https://engagemii.com/portal/data/connect",
                    "topUp": { "units": 5000, "priceUsd": 250 },
                    "listUrl": "https://engagemii.com/portal/data/list",
                    "summary": "Company data costs 10 cents a company, 5 cents from 5,000 companies; the rate for the order size applies to the whole order and buying more never costs less (5,000 companies cost $250). Minimum order: 500 companies and $40. ..."
                  },
                  "rateLimit": {
                    "windowMs": 60000,
                    "maxRequestsPerWindow": 60,
                    "maxRecordsPerRequest": 5000
                  },
                  "docs": "https://engagemii.com/aeo/data/api"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "500": {
            "$ref": "#/components/responses/AuthError"
          }
        }
      }
    },
    "/lookup": {
      "get": {
        "tags": [
          "Records"
        ],
        "operationId": "lookupDomain",
        "summary": "One website in, one record out",
        "description": "Returns the full record for the company at that website, plus a company object with standard field names (name, website, industry, companyType, country, city, phone, linkedin and so on) and a sources object saying where each value came from. Costs 1 unit when a record is returned, 0 otherwise. Free lookups (20 one time on a data account; 1, then 2 a month on the paid Agency plan, on an agency account) are used first for records already in the index. A website not in the index yet is built and scored on a paid lookup only: a free lookup on it answers 404 not_found with reason not_indexed and starts nothing. If the build finishes within about 20 seconds the record comes back in the same call; otherwise the answer is 202 scanning (or 202 queued when several new websites are being scanned at once) with retryAfterSec, and the next call after that returns the record. A website that turns out not to be a live company (parked, for sale, spam, empty or unreachable) answers 404 not_found with a reason. Only a record returned uses a lookup. The record check runs before the answer; when it is still running after 25 s the answer is 202 filling and the next call returns the record. The fill from the company's website, the public facts and the AI label get 1.5 s inside the call; what is not back by then finishes in the background and is saved, the answer carries completion.pending true, and a later call reads the filled cells. Scans of new websites are limited to 30 an hour and 100 a day per key.",
        "parameters": [
          {
            "name": "domain",
            "in": "query",
            "required": true,
            "description": "A website. Scheme, www and path are ignored.",
            "schema": {
              "type": "string",
              "examples": [
                "example.com",
                "https://www.example.com/about"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Record found. 1 unit, or 0 when a free lookup paid for it.",
            "headers": {
              "X-RateLimit-Remaining": {
                "description": "Requests left in the current window.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Seconds until the window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LookupResponse"
                }
              }
            }
          },
          "202": {
            "description": "Not ready yet. status scanning: the website was not in the index and is being scanned. status queued: several new websites are being scanned at once and this one is next in line (completion.pending true). status filling: the record check is still running. Nothing is charged. Call again after Retry-After seconds.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before calling again.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Pending"
                },
                "examples": {
                  "scanning": {
                    "value": {
                      "status": "scanning",
                      "domain": "newco.com",
                      "retryAfterSec": 30,
                      "message": "This website was not in the index, so it is being scanned and scored now. Call again after retryAfterSec to get the record. Nothing is charged until a record is returned.",
                      "apiQuotaRemaining": 846200,
                      "freeLookupsRemaining": 20
                    }
                  },
                  "filling": {
                    "value": {
                      "status": "filling",
                      "domain": "acme.com",
                      "retryAfter": 10,
                      "retryAfterSec": 10,
                      "message": "This record is being checked and filled from the company's website now. Call again after retryAfter seconds to get the complete record. Nothing was charged.",
                      "apiQuotaRemaining": 846200,
                      "freeLookupsRemaining": 20
                    }
                  },
                  "queued": {
                    "value": {
                      "status": "queued",
                      "domain": "newco.com",
                      "retryAfterSec": 15,
                      "completion": {
                        "status": "queued",
                        "pending": true,
                        "retryAfterSec": 15
                      },
                      "message": "Several new websites are being scanned right now and this one is next in line. Call again after retryAfterSec to get the record. Nothing is charged until a record is returned.",
                      "apiQuotaRemaining": 846200,
                      "freeLookupsRemaining": 20
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Not a website.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "error": "invalid_domain",
                  "message": "Pass a website, for example ?domain=example.com"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "402": {
            "$ref": "#/components/responses/QuotaExhausted"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "No company record for that website; reason says why. reason not_indexed: a free lookup on a website not in the index; a free lookup returns records already held and starts nothing, a paid lookup builds the record. Nothing is charged.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotFound"
                },
                "examples": {
                  "not_a_company": {
                    "value": {
                      "error": "not_found",
                      "domain": "parked-site.com",
                      "reason": "parked_or_empty",
                      "message": "This website is parked, for sale, a placeholder or empty, so it is not a company record.",
                      "apiQuotaRemaining": 846200,
                      "freeLookupsRemaining": 20
                    }
                  },
                  "not_indexed": {
                    "summary": "A free lookup on a website not in the index",
                    "value": {
                      "error": "not_found",
                      "found": false,
                      "domain": "newco.com",
                      "reason": "not_indexed",
                      "hint": "a paid lookup builds this record",
                      "message": "This website is not in the index yet. A free lookup returns records already held; a paid lookup builds the record from the company's website.",
                      "apiQuotaRemaining": 0,
                      "freeLookupsRemaining": 12
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests (rate_limited: more than 60 in 60 s; Retry-After and retryAfterSeconds say when to retry), or this key's scans of new websites are limited: scan_limit_key (this key's scans are used up for now) or scan_limit_global (scans are paused for today). Websites already in the index still answer. Nothing is charged.",
            "headers": {
              "X-RateLimit-Remaining": {
                "description": "Requests left in the current window.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Seconds until the window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before calling again.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "examples": {
                  "rate_limited": {
                    "value": {
                      "error": "rate_limited",
                      "retryAfterSeconds": 42
                    }
                  },
                  "scan_limit_key": {
                    "value": {
                      "error": "scan_limit_key",
                      "domain": "newco.com",
                      "retryAfterSeconds": 600
                    }
                  },
                  "scan_limit_global": {
                    "value": {
                      "error": "scan_limit_global",
                      "domain": "newco.com",
                      "retryAfterSeconds": 3600
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal error. Retry with backoff. Nothing is charged.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "examples": {
                  "lookup_failed": {
                    "value": {
                      "error": "lookup_failed"
                    }
                  },
                  "auth_error": {
                    "value": {
                      "error": "auth_error"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/records": {
      "post": {
        "tags": [
          "Records"
        ],
        "operationId": "queryRecords",
        "summary": "Records by filter, paged",
        "description": "Returns records that match the filters, best AI visibility score first, up to limit per call (default 1,000, maximum 5,000). Every record returned costs 1 unit; publicCompanies \"only\" costs 10 units a record and runs only with acceptUnitsPerRow 10. Paging: send offset 0, then the nextOffset of each answer, until hasMore is false. Never add count to offset. An answer comes back within about 3.5 s. Records whose quality check or completion is still running at that point are passed over and the page skips ahead to the records that are ready, so a first page is never empty while complete records exist; the passed-over records are carried for your key and filters and come first on a later page (completion.pending says how many). A page with no row ready carries Retry-After: 3 s on the first empty page, 5 s on the second, 8 s from the third, and the body says how many records are still being completed. Paging always ends: a passed-over record still not complete 60 s after it was first passed over is served on the next call with the fields held (completion.partial) and one that cannot be served by then leaves the set, so hasMore turns false once nothing else remains. A filter or value that does not exist is refused with 400 before anything is read. Nothing is charged on any error.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RecordsQuery"
              },
              "examples": {
                "technologyCalifornia": {
                  "summary": "Technology companies in California scoring 6 or more",
                  "value": {
                    "filters": {
                      "industries": [
                        "Technology"
                      ],
                      "states": [
                        "California"
                      ],
                      "scoreMin": 6
                    },
                    "limit": 100,
                    "offset": 0
                  }
                },
                "germany": {
                  "summary": "Companies in Germany",
                  "value": {
                    "filters": {
                      "countries": [
                        "Germany"
                      ]
                    },
                    "limit": 25
                  }
                },
                "sizeSingapore": {
                  "summary": "Companies in Singapore with 1,001 to 5,000 staff (published sizes only)",
                  "value": {
                    "filters": {
                      "countries": [
                        "Singapore"
                      ],
                      "employeesMin": 1001,
                      "employeesMax": 5000
                    },
                    "limit": 10
                  }
                },
                "publicOnly": {
                  "summary": "Public companies only (10 units a record, confirmed)",
                  "value": {
                    "filters": {
                      "publicCompanies": "only",
                      "industries": [
                        "Technology"
                      ]
                    },
                    "limit": 10,
                    "acceptUnitsPerRow": 10
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Records. count rows, unitsSpent units. When records is empty and recordCheck.status is check_pending or completion.status is completing, wait Retry-After seconds (3, then 5, then 8 while the pages stay empty) and call again with the same nextOffset; completion.pending says how many records are still being completed. A record still not complete 60 seconds after it was first passed over is served on the next call with the fields held (completion.partial), so the empty pages always end.",
            "headers": {
              "X-RateLimit-Remaining": {
                "description": "Requests left in the current window.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Seconds until the window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Only when no row was ready: seconds to wait before calling again with nextOffset. 3 on the first empty page, 5 on the second, 8 from the third; a page that serves rows resets it.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordsResponse"
                },
                "example": {
                  "records": [
                    {
                      "companyName": "Acme Corp",
                      "domain": "acme.com",
                      "aeoScore": 7.68,
                      "_license": "a1b2c3d4e5f60718"
                    }
                  ],
                  "count": 100,
                  "unitsPerRow": 1,
                  "unitsSpent": 100,
                  "standardRecords": 100,
                  "publicRecords": 0,
                  "rateClass": "standard",
                  "nextOffset": 100,
                  "hasMore": true,
                  "recordCheck": {
                    "status": "checked",
                    "judged": 12,
                    "swapped": 1
                  },
                  "apiQuotaRemaining": 846200,
                  "license": {
                    "notice": "ENGAGEMII AEO DATA - LICENSED, NOT FOR RESALE",
                    "terms": "https://engagemii.com/aeo/data/license",
                    "disclaimer": "Not investment advice. Engagemii scores, rankings, connections and company data are opinions and estimates produced by automated models from public sources. They are provided as is, may be wrong or out of date, and are not a recommendation to buy, sell or hold any security."
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "402": {
            "$ref": "#/components/responses/QuotaExhausted"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "500": {
            "description": "Internal error (records_failed), or the key could not be checked (auth_error). Retry with backoff. Nothing is charged.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "examples": {
                  "records_failed": {
                    "value": {
                      "error": "records_failed"
                    }
                  },
                  "auth_error": {
                    "value": {
                      "error": "auth_error"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "The search ran past 40 s and was stopped. Retry, or narrow the filters. Nothing is charged.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "error": "records_timeout",
                  "message": "The search took too long and was stopped; nothing was charged."
                }
              }
            }
          }
        }
      }
    },
    "/orders": {
      "get": {
        "tags": [
          "Account"
        ],
        "operationId": "listOrders",
        "summary": "Your data files",
        "description": "The orders on your account, the same list as the My files page in your account, each ready file with a freshly signed download link. Costs nothing.",
        "responses": {
          "200": {
            "description": "Orders",
            "headers": {
              "X-RateLimit-Remaining": {
                "description": "Requests left in the current window.",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Seconds until the window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrdersResponse"
                },
                "example": {
                  "orders": [
                    {
                      "id": "cs_live_...",
                      "purchaseNumber": 3,
                      "records": 5000,
                      "createdAt": "2026-11-10T14:02:11.000Z",
                      "status": "ready",
                      "refresh": {
                        "state": "done",
                        "stale": 120,
                        "done": 120,
                        "refreshedAt": "2026-11-11T09:00:00.000Z"
                      },
                      "downloadUrl": "https://..."
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "500": {
            "description": "Internal error. Retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "error": "orders_failed"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "ApiKey": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Engagemii-Data-Key",
        "description": "Your data API key, from the Connect our data to your systems page inside your account (https://engagemii.com/portal/data/connect). Keys start with edk_."
      }
    },
    "responses": {
      "Unauthorized": {
        "description": "The key is missing (missing_api_key) or unknown (invalid_api_key).",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "examples": {
              "missing_api_key": {
                "value": {
                  "error": "missing_api_key"
                }
              },
              "invalid_api_key": {
                "value": {
                  "error": "invalid_api_key"
                }
              }
            }
          }
        }
      },
      "QuotaExhausted": {
        "description": "No units left (and, on /lookup, no free lookups left). More lookups are a top-up (5,000 lookups for $250, 5 cents a lookup) on the Connect our data to your systems page inside your account; a list of companies is ordered on the Get a list of companies page.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "error": "quota_exhausted",
              "message": "No lookups left. The free lookups are used. More lookups are a top-up (5,000 lookups for $250, 5 cents a lookup, one time; paid lookups never expire) on the Connect our data to your systems page in your account: https://engagemii.com/portal/data/connect",
              "apiQuotaRemaining": 0,
              "freeLookupsRemaining": 0
            }
          }
        }
      },
      "RateLimited": {
        "description": "Too many requests: more than 60 in 60 s on this key. Retry-After (header) and retryAfterSeconds (body) say when to retry. Nothing is charged.",
        "headers": {
          "X-RateLimit-Remaining": {
            "description": "Requests left in the current window.",
            "schema": {
              "type": "integer"
            }
          },
          "X-RateLimit-Reset": {
            "description": "Seconds until the window resets.",
            "schema": {
              "type": "integer"
            }
          },
          "Retry-After": {
            "description": "Seconds until the rate window resets.",
            "schema": {
              "type": "integer"
            }
          }
        },
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "error": "rate_limited",
              "retryAfterSeconds": 42
            }
          }
        }
      },
      "BadRequest": {
        "description": "The request was refused before anything was read. Nothing is charged.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "examples": {
              "invalid_body": {
                "value": {
                  "error": "invalid_body",
                  "message": "Send a JSON object: { \"filters\": { ... }, \"limit\": 100, \"offset\": 0 }."
                }
              },
              "unknown_field": {
                "value": {
                  "error": "unknown_field",
                  "message": "Unknown field \"industry\". A records request takes filters, limit, offset, acceptUnitsPerRow; filters go inside \"filters\"."
                }
              },
              "invalid_filters": {
                "value": {
                  "error": "invalid_filters",
                  "message": "filters must be a JSON object."
                }
              },
              "unknown_filter": {
                "value": {
                  "error": "unknown_filter",
                  "message": "Unknown filter \"sector\". This endpoint has no such filter, so nothing was read and nothing was charged."
                }
              },
              "invalid_value": {
                "value": {
                  "error": "invalid_value",
                  "message": "scoreMin must be a number from 0 to 10.",
                  "field": "scoreMin"
                }
              },
              "confirm_units_required": {
                "value": {
                  "error": "confirm_units_required",
                  "message": "Public companies only costs 10 units a record. Add \"acceptUnitsPerRow\": 10 to run it.",
                  "unitsPerRow": 10,
                  "maxUnits": 10000
                }
              }
            }
          }
        }
      },
      "AuthError": {
        "description": "The key could not be checked. Retry.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "error": "auth_error"
            }
          }
        }
      },
      "Forbidden": {
        "description": "The key is inactive until the account's email is confirmed (email_not_verified), or the key belongs to a brand account, which sees its own brand only and has no Data API (brand_account).",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "examples": {
              "email_not_verified": {
                "summary": "Email not confirmed yet",
                "value": {
                  "error": "email_not_verified"
                }
              },
              "brand_account": {
                "summary": "A brand account",
                "value": {
                  "error": "brand_account",
                  "message": "A brand account can only see its own brand. Lookups of other companies come with a data or agency account."
                }
              }
            }
          }
        }
      }
    },
    "schemas": {
      "Error": {
        "type": "object",
        "required": [
          "error"
        ],
        "properties": {
          "error": {
            "type": "string",
            "description": "The error code.",
            "enum": [
              "invalid_body",
              "unknown_field",
              "invalid_filters",
              "unknown_filter",
              "invalid_value",
              "confirm_units_required",
              "invalid_domain",
              "missing_api_key",
              "invalid_api_key",
              "quota_exhausted",
              "email_not_verified",
              "brand_account",
              "rate_limited",
              "scan_limit_key",
              "scan_limit_global",
              "auth_error",
              "records_failed",
              "lookup_failed",
              "orders_failed",
              "records_timeout"
            ]
          },
          "message": {
            "type": "string",
            "description": "One plain sentence."
          },
          "domain": {
            "type": "string"
          },
          "field": {
            "type": "string",
            "description": "invalid_value: the field refused."
          },
          "allowed": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "invalid_value, unknown_filter: the values or filters that exist."
          },
          "retryAfterSeconds": {
            "type": "integer",
            "description": "rate_limited and scan limits: seconds to wait."
          },
          "unitsPerRow": {
            "type": "integer",
            "description": "confirm_units_required: units each public company costs."
          },
          "maxUnits": {
            "type": "integer",
            "description": "confirm_units_required: the most this request could spend (limit times unitsPerRow)."
          },
          "apiQuotaRemaining": {
            "type": "integer"
          },
          "freeLookupsRemaining": {
            "type": "integer"
          }
        }
      },
      "Pending": {
        "type": "object",
        "required": [
          "status",
          "domain",
          "retryAfterSec"
        ],
        "description": "A 202 answer from /lookup. Nothing is charged.",
        "properties": {
          "status": {
            "type": "string",
            "enum": [
              "scanning",
              "queued",
              "filling"
            ],
            "description": "scanning: a website not in the index is being scanned and scored. queued: several new websites are being scanned at once and this one is next in line. filling: the record check is still running."
          },
          "domain": {
            "type": "string"
          },
          "retryAfterSec": {
            "type": "integer",
            "description": "Seconds to wait before calling again (also the Retry-After header)."
          },
          "retryAfter": {
            "type": "integer",
            "description": "filling only: the same value as retryAfterSec."
          },
          "message": {
            "type": "string"
          },
          "apiQuotaRemaining": {
            "type": "integer"
          },
          "freeLookupsRemaining": {
            "type": "integer"
          },
          "completion": {
            "type": "object",
            "description": "queued only: the scan is pending.",
            "properties": {
              "status": {
                "type": "string",
                "enum": [
                  "queued"
                ]
              },
              "pending": {
                "type": "boolean"
              },
              "retryAfterSec": {
                "type": "integer"
              }
            }
          }
        }
      },
      "NotFound": {
        "type": "object",
        "required": [
          "error",
          "domain",
          "reason"
        ],
        "properties": {
          "error": {
            "type": "string",
            "enum": [
              "not_found"
            ]
          },
          "domain": {
            "type": "string"
          },
          "reason": {
            "type": "string",
            "enum": [
              "not_in_index",
              "not_indexed",
              "not_live",
              "not_live_business",
              "incomplete",
              "invalid_domain",
              "ip_address",
              "reserved_domain",
              "free_mail_domain",
              "link_shortener",
              "not_a_company_site",
              "unresolvable",
              "unreachable",
              "blocked",
              "parked_or_empty",
              "spam",
              "duplicate",
              "conflict",
              "no_score",
              "scan_failed"
            ],
            "description": "not_in_index: No record for this website. not_indexed: This website is not in the index yet. A free lookup returns records already held; a paid lookup builds the record from the company's website. not_live: This website is in the index but is not a live company (parked, for sale, spam or empty), so no record is returned. not_live_business: The record check (the same check every purchase runs) found this website is not a live business today, so no record is returned. Nothing was charged. incomplete: The record for this website is missing a name or website, so it is not returned. invalid_domain: This is not a website. ip_address: An IP address is not a company website. reserved_domain: This name is reserved for examples and tests, not a company. free_mail_domain: This is an email provider, not a company website. link_shortener: This is a link shortener, not a company website. not_a_company_site: This website is a platform, news, government or education site, which the data does not cover. unresolvable: This website does not resolve to a public address. unreachable: This website could not be reached. blocked: This website refused our scan. parked_or_empty: This website is parked, for sale, a placeholder or empty, so it is not a company record. spam: This website carries spam or adult content, so it is not a company record. duplicate: This website is already held under another address. conflict: This website could not be added because its address clashes with another company in the index. no_score: This website was scanned but could not be scored. scan_failed: The scan of this website failed. Try again later."
          },
          "message": {
            "type": "string"
          },
          "apiQuotaRemaining": {
            "type": "integer"
          },
          "freeLookupsRemaining": {
            "type": "integer"
          },
          "found": {
            "type": "boolean",
            "description": "not_indexed only: false."
          },
          "hint": {
            "type": "string",
            "description": "not_indexed only: a paid lookup builds this record."
          }
        }
      },
      "Info": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          },
          "companyName": {
            "type": "string"
          },
          "apiQuotaTotal": {
            "type": "integer",
            "description": "Units ever added to the key."
          },
          "apiQuotaRemaining": {
            "type": "integer",
            "description": "Paid units left."
          },
          "freeLookupsRemaining": {
            "type": "integer",
            "description": "Free lookups left now. A data account has 20, one time; an agency account 1 as a sample, then 2 a month (UTC calendar month) while the Agency plan is paid."
          },
          "rateLimit": {
            "type": "object",
            "properties": {
              "windowMs": {
                "type": "integer",
                "example": 60000
              },
              "maxRequestsPerWindow": {
                "type": "integer",
                "example": 60
              },
              "maxRecordsPerRequest": {
                "type": "integer",
                "example": 5000
              }
            }
          },
          "docs": {
            "type": "string",
            "format": "uri"
          },
          "freeLookupRule": {
            "type": "string",
            "description": "The free lookup rule for this account, in one sentence."
          },
          "pricing": {
            "type": "object",
            "description": "The prices and rules, from the same config checkout charges with.",
            "properties": {
              "perCompanyUsd": { "type": "number", "description": "Price of one company in an order under volumeFromCompanies (0.10)." },
              "volumePerCompanyUsd": { "type": "number", "description": "Price of one company from volumeFromCompanies up (0.05). The rate for the order size applies to the whole order; buying more never costs less." },
              "volumeFromCompanies": { "type": "integer", "description": "Order size where the volume price starts (5,000)." },
              "minOrderCompanies": { "type": "integer", "description": "Smallest list or file order, in companies (500)." },
              "minOrderUsd": { "type": "number", "description": "Smallest list or file order, in dollars (40)." },
              "unitsPerRecord": { "type": "integer", "description": "Units one record returned costs on this API (1)." },
              "publicCompanyUnitsPerRecord": { "type": "integer", "description": "Units a record costs with publicCompanies \"only\" (10)." },
              "topUpUrl": { "type": "string", "format": "uri", "description": "Where more units are bought: the Connect our data to your systems page." },
              "topUp": { "type": "object", "description": "The one top-up, at the company rate: 5,000 units for $250 (5 cents a unit).", "properties": { "units": { "type": "integer" }, "priceUsd": { "type": "number" } } },
              "listUrl": { "type": "string", "format": "uri", "description": "Where a list of companies is ordered: the Get a list of companies page." },
              "summary": { "type": "string", "description": "The same rules in a few sentences." }
            }
          }
        }
      },
      "License": {
        "type": "object",
        "properties": {
          "notice": {
            "type": "string",
            "example": "ENGAGEMII AEO DATA - LICENSED, NOT FOR RESALE"
          },
          "terms": {
            "type": "string",
            "example": "https://engagemii.com/aeo/data/license"
          },
          "disclaimer": {
            "type": "string",
            "example": "Not investment advice. Engagemii scores, rankings, connections and company data are opinions and estimates produced by automated models from public sources. They are provided as is, may be wrong or out of date, and are not a recommendation to buy, sell or hold any security."
          }
        }
      },
      "Company": {
        "type": "object",
        "description": "The company in standard field names, built from everything we hold for the website and from public registries (the company's own About and Contact pages, SEC filings, Wikidata, its LEI record). A field we do not hold is left out.",
        "additionalProperties": true,
        "properties": {
          "name": {
            "type": "string"
          },
          "legalName": {
            "type": "string"
          },
          "legalForm": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "industry": {
            "type": "string"
          },
          "companyType": {
            "type": "string",
            "enum": [
              "Public company",
              "Private company",
              "Nonprofit",
              "Government",
              "Education"
            ]
          },
          "country": {
            "type": "string"
          },
          "region": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "postalCode": {
            "type": "string"
          },
          "street": {
            "type": "string",
            "description": "The registered head office, never a local office found on a page."
          },
          "phone": {
            "type": "string",
            "description": "Validated, international format."
          },
          "email": {
            "type": "string",
            "description": "A role address at the company's own domain (info@, sales@), never a person."
          },
          "logo": {
            "type": "string",
            "format": "uri"
          },
          "founded": {
            "type": [
              "integer",
              "string"
            ]
          },
          "linkedin": {
            "type": "string"
          },
          "x": {
            "type": "string"
          },
          "facebook": {
            "type": "string"
          },
          "instagram": {
            "type": "string"
          },
          "youtube": {
            "type": "string"
          },
          "github": {
            "type": "string"
          },
          "technologies": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "employees": {
            "type": [
              "integer",
              "string"
            ],
            "description": "A number, or the range the site publishes, for example 4-10."
          },
          "sizeBand": {
            "type": "string"
          }
        }
      },
      "Sources": {
        "type": "object",
        "description": "Where each company value came from: company_site, sec_edgar, wikidata, gleif or engagemii. hqSource names the source of the head office.",
        "additionalProperties": {
          "type": "string"
        }
      },
      "LookupResponse": {
        "type": "object",
        "required": [
          "record",
          "unitsSpent",
          "allowance"
        ],
        "properties": {
          "record": {
            "$ref": "#/components/schemas/Record"
          },
          "company": {
            "$ref": "#/components/schemas/Company"
          },
          "sources": {
            "$ref": "#/components/schemas/Sources"
          },
          "unitsSpent": {
            "type": "integer",
            "description": "1 for a record found, public companies included; 0 when a free lookup paid for it, or when it is a re-read of a website this account was charged for within 24 hours."
          },
          "allowance": {
            "type": "string",
            "enum": [
              "free",
              "paid",
              "reread"
            ],
            "description": "Which allowance paid. Free lookups are used first. reread: the same website was charged within 24 hours, so this read is free."
          },
          "rateClass": {
            "type": "string",
            "enum": [
              "standard",
              "public"
            ],
            "description": "public when the company is a US public company (SEC ticker and CIK on the row). The price is the same."
          },
          "apiQuotaRemaining": {
            "type": "integer"
          },
          "freeLookupsRemaining": {
            "type": "integer"
          },
          "license": {
            "$ref": "#/components/schemas/License"
          },
          "completion": {
            "type": "object",
            "description": "Present when the fill from the company's website, the public facts or the AI label were still running when the record went out (they get 1.5 s inside the call). They finish in the background and are saved; a later call reads the filled cells. This call was charged once.",
            "properties": {
              "status": {
                "type": "string",
                "enum": [
                  "completing"
                ]
              },
              "pending": {
                "type": "boolean"
              },
              "steps": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "fill",
                    "facts",
                    "label"
                  ]
                }
              },
              "retryAfterSec": {
                "type": "integer"
              },
              "message": {
                "type": "string"
              }
            }
          },
          "freeLookupRule": {
            "type": "string",
            "description": "The free lookup rule for this account, in one sentence."
          }
        }
      },
      "RecordsQuery": {
        "type": "object",
        "additionalProperties": false,
        "description": "Any field or filter not listed here is refused with 400 (unknown_field, unknown_filter) and nothing is charged.",
        "properties": {
          "filters": {
            "description": "A JSON object (a JSON string of one is also accepted).",
            "oneOf": [
              {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "industries": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "enum": [
                        "Technology",
                        "E-commerce",
                        "Food & Beverage",
                        "Health & Wellness",
                        "Healthcare",
                        "Beauty & Personal Care",
                        "Fashion & Apparel",
                        "Finance & Insurance",
                        "Legal",
                        "Real Estate",
                        "Travel & Hospitality",
                        "Education",
                        "Media & Entertainment",
                        "Home & Living",
                        "Pet Care",
                        "Automotive",
                        "Sports & Recreation",
                        "Professional Services",
                        "Nonprofits",
                        "Government & Public Sector",
                        "Membership Organizations",
                        "Manufacturing & Industrial",
                        "Other"
                      ]
                    },
                    "description": "Categories, any case. One or more of the listed values."
                  },
                  "categories": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "enum": [
                        "Technology",
                        "E-commerce",
                        "Food & Beverage",
                        "Health & Wellness",
                        "Healthcare",
                        "Beauty & Personal Care",
                        "Fashion & Apparel",
                        "Finance & Insurance",
                        "Legal",
                        "Real Estate",
                        "Travel & Hospitality",
                        "Education",
                        "Media & Entertainment",
                        "Home & Living",
                        "Pet Care",
                        "Automotive",
                        "Sports & Recreation",
                        "Professional Services",
                        "Nonprofits",
                        "Government & Public Sector",
                        "Membership Organizations",
                        "Manufacturing & Industrial",
                        "Other"
                      ]
                    },
                    "description": "Same as industries."
                  },
                  "states": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "US states by name or postal code (California, CA)."
                  },
                  "countries": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "Country names or 2-letter ISO codes (Germany, DE). A company's country is its headquarters country: a registry head office first (SEC, GLEIF, Wikidata), then the address of the company's own website; a company whose evidence disagrees, or whose site lists offices in several countries without naming a headquarters, is left out of country searches rather than given a wrong country."
                  },
                  "scope": {
                    "type": "string",
                    "enum": [
                      "us",
                      "all"
                    ],
                    "default": "us",
                    "description": "us: United States. all: worldwide."
                  },
                  "audienceTypes": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "enum": [
                        "B2B",
                        "B2C",
                        "Mixed",
                        "Other"
                      ]
                    }
                  },
                  "scoreMin": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 10,
                    "description": "Lowest AI visibility score, inclusive."
                  },
                  "scoreMax": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 10,
                    "description": "Highest AI visibility score, inclusive."
                  },
                  "employeesMin": {
                    "type": "integer",
                    "minimum": 1,
                    "description": "Fewest staff, inclusive. Size is known only for companies that publish it (their own website, an SEC filing or Wikidata), so a size filter returns only those companies, each with a published size inside the range: fewer companies, every one with a known size."
                  },
                  "employeesMax": {
                    "type": "integer",
                    "minimum": 1,
                    "description": "Most staff, inclusive. A company whose published size is a range (51-200) matches only when the whole range is inside yours. Known sizes only, as employeesMin."
                  },
                  "sizeBands": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "enum": [
                        "1-10",
                        "11-50",
                        "51-200",
                        "201-500",
                        "501-1000",
                        "1001-5000",
                        "5001-10000",
                        "10001+"
                      ]
                    },
                    "description": "Staff bands, any of. Known sizes only, as employeesMin."
                  },
                  "hasSocials": {
                    "type": "boolean",
                    "description": "true: at least one social profile on record."
                  },
                  "hasEmails": {
                    "type": "boolean",
                    "description": "true: a role email on record."
                  },
                  "platforms": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "Site platform, lower case, for example shopify."
                  },
                  "paymentProcessors": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "For example stripe."
                  },
                  "analytics": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "For example google analytics."
                  },
                  "emailMarketing": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "For example klaviyo."
                  },
                  "reviews": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "For example trustpilot."
                  },
                  "publicCompanies": {
                    "type": "string",
                    "enum": [
                      "only"
                    ],
                    "description": "US public companies only (SEC ticker and CIK on every row). 10 units a record; needs acceptUnitsPerRow 10."
                  }
                }
              },
              {
                "type": "string",
                "description": "The same object as a JSON string."
              }
            ]
          },
          "limit": {
            "type": "integer",
            "default": 1000,
            "minimum": 1,
            "maximum": 5000,
            "description": "Records per call."
          },
          "offset": {
            "type": "integer",
            "default": 0,
            "minimum": 0,
            "description": "0 for the first page, then the nextOffset of the previous answer."
          },
          "acceptUnitsPerRow": {
            "type": "integer",
            "enum": [
              10
            ],
            "description": "Confirms the 10-unit rate when publicCompanies is only."
          }
        }
      },
      "RecordsResponse": {
        "type": "object",
        "required": [
          "records",
          "count",
          "unitsPerRow",
          "unitsSpent",
          "nextOffset",
          "hasMore",
          "apiQuotaRemaining"
        ],
        "properties": {
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Record"
            },
            "description": "With a company size filter each record also carries companySize: { employeesMin, employeesMax, source } (source company_site, sec_edgar or wikidata), the published size it matched on."
          },
          "count": {
            "type": "integer",
            "description": "Records in this answer."
          },
          "unitsPerRow": {
            "type": "integer",
            "description": "Units each record cost: 1, or 10 for publicCompanies only."
          },
          "unitsSpent": {
            "type": "integer",
            "description": "Units this answer cost."
          },
          "standardRecords": {
            "type": "integer"
          },
          "publicRecords": {
            "type": "integer",
            "description": "Records charged at the public rate."
          },
          "publicUnitsEach": {
            "type": "integer"
          },
          "rateClass": {
            "type": "string",
            "enum": [
              "standard",
              "public",
              "standard+public"
            ]
          },
          "message": {
            "type": "string",
            "description": "Present when the units left could not pay for the next public company; the answer stopped before it."
          },
          "nextOffset": {
            "type": "integer",
            "description": "Send as offset for the next page. Rows the quality check or the filters leave out are passed, never served, so a page can hold fewer rows than limit. Never add count to offset."
          },
          "hasMore": {
            "type": "boolean",
            "description": "false when the results are exhausted."
          },
          "recordCheck": {
            "type": "object",
            "description": "The quality check every served row passes.",
            "properties": {
              "status": {
                "type": "string",
                "enum": [
                  "checked",
                  "check_pending"
                ],
                "description": "check_pending: the next rows were still being checked when the answer went out; call again with nextOffset."
              },
              "judged": {
                "type": "integer"
              },
              "swapped": {
                "type": "integer"
              },
              "retryAfterSec": {
                "type": "integer",
                "description": "check_pending only: seconds to wait before the next call."
              },
              "message": {
                "type": "string"
              }
            }
          },
          "note": {
            "type": "string",
            "description": "With a company size filter only: size is known only for companies that publish it, so the results are fewer, and every record has a known size inside the range (its companySize says which and from where)."
          },
          "apiQuotaRemaining": {
            "type": "integer"
          },
          "license": {
            "$ref": "#/components/schemas/License"
          },
          "completion": {
            "type": "object",
            "description": "Present when records of this page were passed over because their quality check or completion from their own website was still running at the deadline: the page skipped ahead to the records that were ready. The passed-over records are carried for this key and filter set and come first on a later page once ready. pending: how many are still being completed. A passed-over record still not complete 60 seconds after it was first passed over is served on the next call with the fields held (status partial, partial counts them, partialRecords names them; its completion goes on and is saved for the next read), and one that cannot be served by then leaves the set (dropped), so paging always ends. You are only charged for records returned.",
            "properties": {
              "status": {
                "type": "string",
                "enum": [
                  "completing",
                  "partial",
                  "dropped"
                ],
                "description": "completing: records are still being completed and are carried to a later page. partial: nothing is carried; this page served records with the fields held after the 60 second wait. dropped: nothing is carried; passed-over records whose check still had no verdict after the wait left the set, unpaid."
              },
              "pending": {
                "type": "integer",
                "description": "How many records are still being completed and carried to a later page."
              },
              "retryAfterSec": {
                "type": "integer",
                "description": "completing only: seconds to wait before the next call (3 on the first empty page, 5 on the second, 8 from the third)."
              },
              "partial": {
                "type": "integer",
                "description": "How many records of this page were served with the fields held because their completion ran past 60 seconds."
              },
              "partialRecords": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "The domains of the records served with the fields held."
              },
              "dropped": {
                "type": "integer",
                "description": "How many passed-over records left the set because their check still had no verdict after 60 seconds. Never charged."
              },
              "message": {
                "type": "string"
              }
            }
          }
        }
      },
      "Record": {
        "type": "object",
        "description": "One full company record: the same 115 columns, in the same order, as a data file, every one filled where we hold the data. Each score is a number: aeoScore and networkAuthority from 0 to 10, aiNamingPredictability, agentReadinessIndex and aiAdoptionIndex from 0 to 100. Every part behind aeoScore is a word: Weak, Fair, Good or Strong. A blank value means we do not hold it. Emails, people's names and personal phone numbers are never in the data. Column by column: https://engagemii.com/aeo/data/dictionary.",
        "properties": {
          "companyName": {
            "type": "string"
          },
          "domain": {
            "type": "string"
          },
          "ticker": {
            "type": "string"
          },
          "cik": {
            "type": "string"
          },
          "websiteUrl": {
            "type": "string"
          },
          "addedToDb": {
            "type": "string",
            "format": "date",
            "description": "When we first added this brand to our database (YYYY-MM-DD)."
          },
          "lastUpdated": {
            "type": "string",
            "format": "date"
          },
          "scoredAt": {
            "type": "string",
            "format": "date",
            "description": "The date aeoScore took its current value: the brand page's \"Last scored\" date. The last crawl date only when no score date is held."
          },
          "aeoScore": {
            "type": "number",
            "description": "AI visibility score, 0 to 10 with 2 decimals",
            "example": 7.68
          },
          "previousScore": {
            "type": [
              "number",
              "string"
            ],
            "description": "The score before the current one, as last recorded; empty string when we hold no earlier score."
          },
          "scoreChange": {
            "type": [
              "number",
              "string"
            ],
            "description": "Current score minus previousScore, 2 decimals. Positive means up, negative means down. Empty string when previousScore is empty."
          },
          "previousScoredAt": {
            "type": "string",
            "format": "date",
            "description": "Date previousScore was recorded; empty string when previousScore is empty"
          },
          "aiVisibilityBand": {
            "type": "string",
            "enum": [
              "Highly visible",
              "Visible",
              "Borderline",
              "Near-invisible",
              ""
            ],
            "description": "The brand page's word for aeoScore: Highly visible (8 to 10), Visible (6 to 7.99), Borderline (4 to 5.99), Near-invisible (below 4)"
          },
          "industryRankBand": {
            "type": "string",
            "enum": [
              "Top 1%",
              "Top 5%",
              "Top 10%",
              "Top 25%",
              "Top 50%",
              ""
            ],
            "description": "Where the company's score sits among live companies in its businessCategory, as the brand page shows it; empty when the category is too small or the company is below the top half"
          },
          "structuredData": {
            "type": "string",
            "enum": [
              "Weak",
              "Fair",
              "Good",
              "Strong",
              ""
            ]
          },
          "contentStructure": {
            "type": "string",
            "enum": [
              "Weak",
              "Fair",
              "Good",
              "Strong",
              ""
            ]
          },
          "entityClarity": {
            "type": "string",
            "enum": [
              "Weak",
              "Fair",
              "Good",
              "Strong",
              ""
            ]
          },
          "eeaT": {
            "type": "string",
            "enum": [
              "Weak",
              "Fair",
              "Good",
              "Strong",
              ""
            ]
          },
          "technicalAeo": {
            "type": "string",
            "enum": [
              "Weak",
              "Fair",
              "Good",
              "Strong",
              ""
            ]
          },
          "aiDiscoverability": {
            "type": "string",
            "enum": [
              "Weak",
              "Fair",
              "Good",
              "Strong",
              ""
            ]
          },
          "offPageAuthority": {
            "type": "string",
            "enum": [
              "Weak",
              "Fair",
              "Good",
              "Strong",
              ""
            ]
          },
          "offPageBacklinks": {
            "type": "string",
            "enum": [
              "Weak",
              "Fair",
              "Good",
              "Strong",
              ""
            ]
          },
          "offPageDomainAuthority": {
            "type": "string",
            "enum": [
              "Weak",
              "Fair",
              "Good",
              "Strong",
              ""
            ]
          },
          "offPageReference": {
            "type": "string",
            "enum": [
              "Weak",
              "Fair",
              "Good",
              "Strong",
              ""
            ]
          },
          "offPageNews": {
            "type": "string",
            "enum": [
              "Weak",
              "Fair",
              "Good",
              "Strong",
              ""
            ]
          },
          "offPageCommunity": {
            "type": "string",
            "enum": [
              "Weak",
              "Fair",
              "Good",
              "Strong",
              ""
            ]
          },
          "offPageSocial": {
            "type": "string",
            "enum": [
              "Weak",
              "Fair",
              "Good",
              "Strong",
              ""
            ]
          },
          "networkAuthority": {
            "type": [
              "number",
              "string"
            ],
            "description": "Network Authority, 0 to 10 with one decimal: how connected the company is to other businesses. 0 when the company is not connected yet or its website is confirmed dead"
          },
          "relationshipsOnRecord": {
            "type": [
              "integer",
              "string"
            ],
            "description": "Companies it is connected to: named with it in public annual reports plus connections both companies confirmed on Engagemii"
          },
          "filingRelationships": {
            "type": [
              "integer",
              "string"
            ],
            "description": "Of those, companies named with it in public annual reports (SEC filings)"
          },
          "verifiedConnections": {
            "type": [
              "integer",
              "string"
            ],
            "description": "Of those, connections both companies confirmed on Engagemii"
          },
          "aiBotHitsTotal": {
            "type": "integer",
            "description": "AI engine reads of the company's page"
          },
          "aiBotsSeen": {
            "type": "string",
            "description": "Which AI engines have read it"
          },
          "aiReadsByEngine": {
            "type": "string",
            "description": "AI engine reads by engine, largest first, for example ChatGPT:120; Claude:30"
          },
          "aiReadsLastSeen": {
            "type": "string",
            "format": "date",
            "description": "Date of the latest AI engine read"
          },
          "aiNamingPredictability": {
            "type": [
              "number",
              "string"
            ],
            "description": "AI naming score 0 to 100: how likely AI engines are to name the company; empty string when not held"
          },
          "aiNamingCategoryRank": {
            "type": [
              "number",
              "string"
            ],
            "description": "Rank 0 to 100 within the company's own category; empty string when the category is too small to rank"
          },
          "aiVisibilityOpener": {
            "type": "string",
            "description": "One plain sentence about the company's AI visibility, built from the columns in this row; empty when the company has no score"
          },
          "agentReadinessTier": {
            "type": "string"
          },
          "agentReadinessIndex": {
            "type": "number"
          },
          "agentReadinessIdentity": {
            "type": "number"
          },
          "agentReadinessAnswerable": {
            "type": "number"
          },
          "agentReadinessProduct": {
            "type": "number"
          },
          "agentReadinessOfferPrice": {
            "type": "number"
          },
          "agentReadinessOfferAvail": {
            "type": "number"
          },
          "agentReadinessDeepTxn": {
            "type": "number"
          },
          "agentReadinessConnected": {
            "type": "number"
          },
          "agentReadinessBlocksAI": {
            "type": "number"
          },
          "hasRobotsTxt": {
            "type": [
              "integer",
              "string"
            ],
            "enum": [
              1,
              0,
              ""
            ],
            "description": "1 when the site publishes robots.txt, 0 when the site answered without it, empty when we could not tell"
          },
          "hasSitemap": {
            "type": [
              "integer",
              "string"
            ],
            "enum": [
              1,
              0,
              ""
            ],
            "description": "1 when the site publishes an XML sitemap, 0 when the site answered without it, empty when we could not tell"
          },
          "hasLlmsTxt": {
            "type": [
              "integer",
              "string"
            ],
            "enum": [
              1,
              0,
              ""
            ],
            "description": "1 when the site publishes llms.txt, 0 when the site answered without it, empty when we could not tell"
          },
          "llmsTxtAudit": {
            "type": "string",
            "enum": [
              "pass",
              "fail_no_h1",
              "fail_no_links",
              "no_file",
              ""
            ],
            "description": "Our format check on the site's llms.txt: pass (Markdown with a top heading and links), fail_no_h1 (no top heading), fail_no_links (no links) or no_file (the site answered without one); empty when we could not tell"
          },
          "aiAdoptionTier": {
            "type": "string",
            "enum": [
              "none",
              "basic",
              "active",
              "advanced"
            ]
          },
          "aiAdoptionIndex": {
            "type": "number"
          },
          "aiAdoptionChatTools": {
            "type": "string"
          },
          "aiAdoptionSearchTools": {
            "type": "string"
          },
          "aiAdoptionTooling": {
            "type": "string"
          },
          "aiAdoptionOwnSubdomain": {
            "type": "string"
          },
          "hasOwnAgent": {
            "type": "string"
          },
          "ownAgentRating": {
            "type": "string"
          },
          "businessCategory": {
            "type": "string"
          },
          "audienceType": {
            "type": "string",
            "enum": [
              "B2B",
              "B2C",
              "Mixed"
            ]
          },
          "detectedPlatform": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "hostingCountry": {
            "type": "string",
            "description": "Two-letter country of the website's server, from the public internet registry files. The server's country, not the company's; empty on hosted site builders"
          },
          "linkedin": {
            "type": "string"
          },
          "instagram": {
            "type": "string"
          },
          "facebook": {
            "type": "string"
          },
          "twitter": {
            "type": "string"
          },
          "tiktok": {
            "type": "string"
          },
          "youtube": {
            "type": "string"
          },
          "telegram": {
            "type": "string",
            "description": "Telegram profile link from the company's own website, cleaned to the profile; empty when none"
          },
          "pinterest": {
            "type": "string",
            "description": "Pinterest profile link from the company's own website, cleaned to the profile; empty when none"
          },
          "threads": {
            "type": "string",
            "description": "Threads profile link from the company's own website, cleaned to the profile; empty when none"
          },
          "discord": {
            "type": "string",
            "description": "Discord profile link from the company's own website, cleaned to the profile; empty when none"
          },
          "snapchat": {
            "type": "string",
            "description": "Snapchat profile link from the company's own website, cleaned to the profile; empty when none"
          },
          "reddit": {
            "type": "string",
            "description": "Reddit profile link from the company's own website, cleaned to the profile; empty when none"
          },
          "bluesky": {
            "type": "string",
            "description": "Bluesky profile link from the company's own website, cleaned to the profile; empty when none"
          },
          "github": {
            "type": "string",
            "description": "GitHub profile link from the company's own website, cleaned to the profile; empty when none"
          },
          "substack": {
            "type": "string",
            "description": "Substack profile link from the company's own website, cleaned to the profile; empty when none"
          },
          "medium": {
            "type": "string",
            "description": "Medium profile link from the company's own website, cleaned to the profile; empty when none"
          },
          "iosAppUrl": {
            "type": "string",
            "description": "The company's iPhone app on the App Store, linked from its website"
          },
          "androidAppUrl": {
            "type": "string",
            "description": "The company's Android app on Google Play, linked from its website"
          },
          "pageTitle": {
            "type": "string"
          },
          "metaDesc": {
            "type": "string"
          },
          "h1Headings": {
            "type": "string"
          },
          "bodySnippet": {
            "type": "string"
          },
          "pageLanguage": {
            "type": "string",
            "description": "The homepage's declared language (html lang), for example en or en-US"
          },
          "paymentProcessors": {
            "type": "string"
          },
          "analytics": {
            "type": "string"
          },
          "emailMarketing": {
            "type": "string"
          },
          "reviews": {
            "type": "string"
          },
          "sellsProducts": {
            "type": [
              "integer",
              "string"
            ],
            "description": "1 when we hold a public product catalog for the company; empty string when we do not"
          },
          "productCount": {
            "type": [
              "integer",
              "string"
            ],
            "description": "Products in the captured catalog"
          },
          "productsInStock": {
            "type": [
              "integer",
              "string"
            ],
            "description": "Products marked available"
          },
          "productPriceMin": {
            "type": [
              "number",
              "string"
            ],
            "description": "Lowest listed product price"
          },
          "productPriceMax": {
            "type": [
              "number",
              "string"
            ],
            "description": "Highest listed product price"
          },
          "catalogFeedUrl": {
            "type": "string",
            "description": "The company's product catalog as a feed hosted by Engagemii"
          },
          "hqStreet": {
            "type": "string"
          },
          "hqZip": {
            "type": "string"
          },
          "latitude": {
            "type": [
              "number",
              "string"
            ],
            "description": "Latitude of the company's location; empty string when unknown"
          },
          "longitude": {
            "type": [
              "number",
              "string"
            ],
            "description": "Longitude of the company's location; empty string when unknown"
          },
          "siteStatus": {
            "type": "string",
            "enum": [
              "live",
              "parked",
              "placeholder",
              "spam",
              "notbusiness",
              "unchecked"
            ],
            "description": "What the website showed at our last check: live (an active business site), parked (a parked or for-sale page), placeholder (a placeholder, under-construction or temporarily unavailable page), spam (content that looked like spam), notbusiness (not a business website), or unchecked (no confirmed check yet)."
          },
          "siteLastChecked": {
            "type": "string",
            "format": "date",
            "description": "Date of the check behind siteStatus; empty when unchecked"
          },
          "phone": {
            "type": "string",
            "description": "Phone and hours: main phone number on the company's own website. Filled where we hold the data, in every record the API returns; empty when we do not hold it"
          },
          "openingHours": {
            "type": "string",
            "description": "Phone and hours. Filled where we hold the data, in every record the API returns; empty when we do not hold it"
          },
          "businessType": {
            "type": "string",
            "description": "Phone and hours. Filled where we hold the data, in every record the API returns; empty when we do not hold it"
          },
          "priceRange": {
            "type": "string",
            "description": "Phone and hours. Filled where we hold the data, in every record the API returns; empty when we do not hold it"
          },
          "foundingYear": {
            "type": [
              "integer",
              "string"
            ],
            "description": "Phone and hours. Filled where we hold the data, in every record the API returns; empty when we do not hold it"
          },
          "logoUrl": {
            "type": "string",
            "description": "Phone and hours. Filled where we hold the data, in every record the API returns; empty when we do not hold it"
          },
          "chainBrand": {
            "type": "string",
            "description": "Places. Filled where we hold the data, in every record the API returns; empty when we do not hold it"
          },
          "locationCount": {
            "type": [
              "integer",
              "string"
            ],
            "description": "Places. Filled where we hold the data, in every record the API returns; empty when we do not hold it"
          },
          "_license": {
            "type": "string",
            "description": "Licence stamp unique to your account and purchase"
          }
        }
      },
      "OrdersResponse": {
        "type": "object",
        "required": [
          "orders"
        ],
        "properties": {
          "orders": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "purchaseNumber": {
                  "type": "integer"
                },
                "records": {
                  "type": "integer"
                },
                "createdAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "status": {
                  "type": "string",
                  "enum": [
                    "ready",
                    "preparing",
                    "pending"
                  ],
                  "description": "ready: downloadUrl is set. preparing: the file is being built. pending: not started."
                },
                "refresh": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "description": "The latest refresh of the file's rows, when one ran."
                },
                "downloadUrl": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "A freshly signed link; null until the file is ready."
                }
              }
            }
          }
        }
      }
    }
  }
}
