Skip to content
  • Track remaining credits

    Request

    You can programmatically check on your account with the credits_remaining and usage resources.

    Use the account/credits_remaining resource to track how many credits are left in your account.

    Cost: 0 credits

    Query
    formatstring

    Specify the desired format of the response.

    Enum:"json""xml"
    Example:format=json
    customer_idstring, (password)required

    Required. The License Key issued by Melissa.

    Example:customer_id={REPLACE-WITH-YOUR-LICENSE-KEY}
    keystring, (password)deprecated

    The License Key issued by Melissa.

    Headers
    Acceptstringrequired

    Format of the response.

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

    Format of the request.

    Enum:"application/json""application/xml"
    curl -i -X GET \
      'https://electedofficials.melissadata.net/v3.1/account/credits_remaining?customer_id=%7BREPLACE-WITH-YOUR-LICENSE-KEY%7D' \
      -H 'Accept: */*' \
      -H 'Content-Type: application/json'

    Responses

    Successful response

    Body
    responseobject
    Response
    { "response": { "errors": [], "messages": [], "results": { … } } }