Skip to main content

Get advertiser's API quota usage

GET 
/v1/apiquotausage

Gets an advertiser's Sponsored Jobs API usage, quota, and sponsored job spend for a specific month.

This operation is free of charge when you call it with an access token that represents an employer.

The spend amount represents the total spend up to the current date for the current month, or the total spend for completed months.

OAuth scopeAccess token type
employer.advertising.account.read

Access token that represents an employer. See Get access token that represents employer.

Request

Query Parameters

    monthYear string

    Month for which to retrieve quota usage data, in MMyyyy format (e.g., 122024 for December 2024). Cannot be in the future or before December 2024 (122024). Defaults to current month if not provided.

Responses

Success

Schema

    meta

    object

    Response-related metadata.

    status int32

    HTTP status code of the response.

    errors

    object[]

    Any errors that prevented successful processing of the request. If there were no errors, the value is null.

  • Array [

  • type string

    Name of the error.

    description string

    Human-readable description of the problem.

  • ]

  • rootLocation string

    Base URL of the Sponsored Jobs API.

    perPage int32

    For endpoints that return paginated results, the effective maximum number of entries returned on one page. The value may be smaller than the maximum you requested with the perPage parameter. If the endpoint returns a single result or doesn't paginate, the value is null.

    links

    object[]

    Resources related to the requested resource.

  • Array [

  • rel string

    The relationship between the requested resource and the related resource. These values are commonly used:

    • up: The related resource is a collection that contains the requested resource, or an entity that the requested resource is attached to.
    • next: The next page of entries in a paginated result.
    • prev: The previous page of entries in a paginated result.

    However, the value may also be an arbitrary string describing the relationship, such as Campaign Info.

    href string

    Endpoint URL of the related resource. Can contain query string parameters. To get the complete URL, append the href to rootLocation.

  • ]

  • data

    object

    mmyyyy string

    Month and year for the quota usage data in MMyyyy format.

    apiQuota integer

    Maximum number of API requests allowed for the month.

    sponsoredJobsSpendAmount integer

    Total sponsored jobs spend amount for the month, up to the current date for the current month or total for completed months.

    currencyCode string

    ISO 4217 currency code for the spend amount.

    apiUsage

    object[]

    List of API usage record for the month.

  • Array [

  • requestsCount integer

    Number of API requests made.

  • ]

Loading...

Was this page helpful?