Skip to content
  • Get Metadata for Data File

    Request

    Use this endpoint to retrieve metadata for a given data file and release.

    Path
    filenamestringrequired

    Name of File.

    Example:ews.txt
    releasestringrequired

    Specific Release. This can be specified in several ways.

    • YYYY.MM OR YYYY-MM - (year, month)
    • YYYY.QQ - (year, quarter)
    • [metaReleaseName] - Release Name, for example: latest
    Example:LATEST
    Query
    idstring, (password)required

    The License Key issued by Melissa.

    Example:id={REPLACE-WITH-YOUR-LICENSE-KEY}
    Headers
    Acceptstringrequired

    Format of the response.

    Enum:"application/json""*/*"
    Example:application/json
    Content-Typestringrequired

    Format of the request.

    Enum:"application/json""application/xml"
    curl -i -X GET \
      'https://releases.melissadata.net/Metadata/Data/LATEST/ews.txt?id=%7BREPLACE-WITH-YOUR-LICENSE-KEY%7D' \
      -H 'Accept: application/json' \
      -H 'Content-Type: application/json'

    Responses

    Successful response.

    Bodyapplication/json
    FileNamestring
    Example:"Congress.csv"
    Releasestring
    Example:"2024.01"
    BuildDatestring
    Example:"2023-12"
    FileSizestring
    Example:"45995"
    MD5string
    Example:"c42cd3b9f31e5a54a395c9b1b6455d5a"
    SHA1string
    Example:"f9e23f670f82c1e440fb78d8e1f1f6b4fd603356"
    SHA256string
    Example:"ec0d336cbfdd4bc4ee0ae39d997b1604819f6942f216a0b3eb62f3a718bed560"
    Response
    { "FileName": "Congress.csv", "Release": "2024.01", "BuildDate": "2023-12", "FileSize": "45995", "MD5": "c42cd3b9f31e5a54a395c9b1b6455d5a", "SHA1": "f9e23f670f82c1e440fb78d8e1f1f6b4fd603356", "SHA256": "ec0d336cbfdd4bc4ee0ae39d997b1604819f6942f216a0b3eb62f3a718bed560" }