Mastercard

Spending Pulse

This API will provide monthly data which includes metrics such as sales volume and growth rate.

Other#openapi

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

This API will provide monthly data which includes metrics such as sales volume and growth rate.

Endpoints 4

Gas Weekly

  • GETReturns the weekly gasoline report. This resource pulls back the report with ProductLine = "US Weekly Gasoline Demand Report". Keep in mind that you must be subscribed to the gasoline weekly report to be able to receive data back from this resource./gasweekly?CurrentRow=1&Offset=25Returns the weekly gasoline report. This resource pulls back the report with ProductLine = "US Weekly Gasoline Demand Report". Keep in mind that you must be…

Parameters

  • GETReturns a distinct list of all reports are available and that one is subscribed to./parameters?CurrentRow=1&Offset=25Returns a distinct list of all reports are available and that one is subscribed to.

SpendingPulse Report

  • GETReturns all Spending Pulse reports (with the exception of the gasoline weekly report, which has its own resource), that one is subscribed to./spendingpulse?CurrentRow=1&Offset=25&ProductLine=Weekly Sales&PublicationCoveragePeriod=March 2015&Country=US&ReportType=reportA&Period=Weekly&Sector=sectorA&Ecomm=YReturns all Spending Pulse reports (with the exception of the gasoline weekly report, which has its own resource), that one is subscribed to.

Subscription

  • GETReturns a list of all reports one is currently subscribed to./subscription?CurrentRow=1&Offset=25Returns a list of all reports one is currently subscribed to.

API details

Base URL
https://api.mastercard.com/spendingpulse/v1/spulse.svc
Authentication
None declared in the description
Operations
4 operations on 4 pathsGET 4
Main resources
Gas Weekly 1Parameters 1SpendingPulse Report 1Subscription 1
Response formats
application/json
Description format
Swagger 2.0, API version 1.0
Listed from
APIs.guru OpenAPI Directory (CC0-1.0)
Source updated

How to test the Spending Pulse in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Spending Pulse collection, without the publisher's secrets.
  3. Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
  4. Send a requestPick an endpoint, for example “Returns the weekly gasoline report. This resource pulls back the report with ProductLine = "US Weekly Gasoline Demand Report". Keep in mind that you must be subscribed to the gasoline weekly report to be able to receive data back from this resource.” (GET /gasweekly?CurrentRow=1&Offset=25), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Spending Pulse?

This API will provide monthly data which includes metrics such as sales volume and growth rate. It is listed under Other and has 4 endpoints.

Who publishes the Spending Pulse?

It is listed from Mastercard's public API description (an OpenAPI document), not published by Mastercard on Swastik Codes. Anyone who controls mastercard.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Spending Pulse?

Requests go to https://api.mastercard.com/spendingpulse/v1/spulse.svc. Endpoint paths are added to this base URL.

How do I authenticate with the Spending Pulse?

Its OpenAPI description does not declare an authentication scheme. Some endpoints may be open; check the provider's documentation before relying on that.

How many endpoints does the Spending Pulse have?

4 operations on 4 paths (4 GET). The largest groups are Gas Weekly, Parameters, SpendingPulse Report, Subscription.

Is forking the Spending Pulse free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.