Locations API
The Locations API provides access to MasterCard's ATM and Merchant location database
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
The Locations API provides access to MasterCard's ATM and Merchant location database
Endpoints 7
ATM Locations
- GETReturns detailed information about an ATM location. This information can be used to display ATMs on a map, provide driving directions, or show special ATM features.
/atms/v1/atm?PageOffset=0&PageLength=5&AddressLine1=114 Fifth Avenue&AddressLine2=Apartment 1&City=New York City&CountrySubdivision=NY&PostalCode=11101&Country=USA&Latitude=38.76006576913497&Longitude=-90.74615107952418&DistanceUnit=MILE&Radius=25&SupportEMV=1&InternationalMaestroAccepted=1Returns detailed information about an ATM location. This information can be used to display ATMs on a map, provide driving directions, or show special ATM…
ATM Countries
- GETReturns countries with valid ATM locations.
/atms/v1/countryReturns countries with valid ATM locations.
ATM Country Subdivisions
- GETReturns country subdivisions that have ATM locations. A country subdivision is a segment within a country (ex state or province). Country subdivisions are only available for the US and Canada.
/atms/v1/countrysubdivision?Country=USAReturns country subdivisions that have ATM locations. A country subdivision is a segment within a country (ex state or province). Country subdivisions are…
Merchant Categories
- GETReturns a list of all merchant categories for contactless and cash back merchants (example: Airline, Retail, etc.).
/merchants/v1/categoryReturns a list of all merchant categories for contactless and cash back merchants (example: Airline, Retail, etc.).
Merchant Countries
- GETReturns countries that have Merchants offering the following services: accept contactless-enabled cards and devices, allow customers to add money to an eligible MasterCard or Maestro prepaid card, issue MasterCard Prepaid Travel cards, offer cash at checkout when paying with a Debit MasterCard or Maestro Card.
/merchants/v1/country?details=acceptance.paypassReturns countries that have Merchants offering the following services: accept contactless-enabled cards and devices, allow customers to add money to an…
Merchant Country Subdivisions
- GETReturns country subdivisions that have Merchants offering the following services: accept contactless-enabled cards and devices, allow customers to add money to an eligible MasterCard or Maestro prepaid card, issue MasterCard Prepaid Travel cards, offer cash at checkout when paying with a Debit MasterCard or Maestro Card. A country subdivision is a segment within a country (ex state or province). Please note country subdivisions are only available for the US and Canada.
/merchants/v1/countrysubdivision?details=topup.repower&country=USAReturns country subdivisions that have Merchants offering the following services: accept contactless-enabled cards and devices, allow customers to add money…
Merchant Locations
- GETReturns merchant location information for merchants offering the following services: accept contactless-enabled cards and devices, allow customers to add money to an eligible MasterCard or Maestro prepaid card, issue MasterCard Prepaid Travel cards, participate in the MasterCard Easy Savings program, and offer cash at checkout when paying with a Debit MasterCard or Maestro Card.
/merchants/v1/merchant?Details=acceptance.paypass&PageOffset=0&PageLength=5&Category=features.cashback&AddressLine1=42 Elm Street&AddressLine2=Suite 101&City=New York&CountrySubdivision=NY&PostalCode=11001&Country=USA&Latitude=38.53463&Longitude=-90.286781&DistanceUnit=MILE&Radius=25&OfferMerchantID=34760Returns merchant location information for merchants offering the following services: accept contactless-enabled cards and devices, allow customers to add…
API details
- Base URL
https://api.mastercard.com- Authentication
- None declared in the description
- Operations
- 7 operations on 7 pathsGET 7
- Main resources
- ATM Countries 1ATM Country Subdivisions 1ATM Locations 1Merchant Categories 1Merchant Countries 1Merchant Country Subdivisions 1Merchant Locations 1
- Response formats
application/json- Description format
- Swagger 2.0, API version
1.0.0 - Links
- OpenAPI document
- Listed from
- APIs.guru OpenAPI Directory (CC0-1.0)
Source updated
How to test the Locations API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Locations API collection, without the publisher's secrets.
- Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
- Send a requestPick an endpoint, for example “Returns detailed information about an ATM location. This information can be used to display ATMs on a map, provide driving directions, or show special ATM features.” (GET /atms/v1/atm?PageOffset=0&PageLength=5&AddressLine1=114 Fifth Avenue&AddressLine2=Apartment 1&City=New York City&CountrySubdivision=NY&PostalCode=11101&Country=USA&Latitude=38.76006576913497&Longitude=-90.74615107952418&DistanceUnit=MILE&Radius=25&SupportEMV=1&InternationalMaestroAccepted=1), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Locations API?
The Locations API provides access to MasterCard's ATM and Merchant location database It is listed under Other and has 7 endpoints.
Who publishes the Locations API?
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 Locations API?
Requests go to https://api.mastercard.com. Endpoint paths are added to this base URL.
How do I authenticate with the Locations API?
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 Locations API have?
7 operations on 7 paths (7 GET). The largest groups are ATM Countries, ATM Country Subdivisions, ATM Locations, Merchant Categories.
Is forking the Locations API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.