Mexico Golf Locator API

API ID 3182

Explore the vibrant golf landscapes of Mexico seamlessly with the Mexico Golf Locator API, guiding enthusiasts to premier courses with precision and comprehensive details.

100% uptime 176 ms avg response

API Documentation

Endpoints

Request

To use this endpoint you must indicate the name of a Mexico Golf course in the parameter.

Endpoint ID: 3390
GET https://zylalabs.com/api/3182/mexico+golf+locator+api/3390/course+details+by+name
INPUT PARAMETERS

Course details by name — Endpoint Features

Object Description
filter[courseName] Required Must indicate the name of an example golf course: Cabo del Sol

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

filter[courseName]
API EXAMPLE RESPONSE
JSON
{"courses":[{"courseName":"CABO DEL SOL","address1":"Carretera Transpeninsular KM 10, 23455","city":"Cabo San Lucas","state":"M\u00e9xico","country":"MEX","telephone":"8662314677","ratings":"[]","latitude":"22.9167630","longitude":"-109.8407790"}],"rowCount":1,"total":1,"success":true}
Course details by name — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/3182/mexico+golf+locator+api/3390/course+details+by+name?filter[courseName]=Cabo del Sol' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request

To use this endpoint you must indicate a radius, latitude, longitude and page in the parameters.

Endpoint ID: 3391
GET https://zylalabs.com/api/3182/mexico+golf+locator+api/3391/golf+courses+by+coordinates
INPUT PARAMETERS

Golf courses by coordinates — Endpoint Features

Object Description
radius Required You must indicate a radius value example: 10
latitude Required You must indicate a latitude for example: 22.9167630
longitude Required You must indicate a length for example: -109.8407790
page Required Indicates a page

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

radius
latitude
longitude
page
API EXAMPLE RESPONSE
JSON
{"courses":[{"courseName":"CABO DEL SOL","address1":"Carretera Transpeninsular KM 10, 23455","city":"Cabo San Lucas","state":"M\u00e9xico","country":"MEX","telephone":"8662314677","ratings":"[]","latitude":"22.9167630","longitude":"-109.8407790"},{"courseName":"Chileno Bay","address1":"Cabo San Lucas Tourist Corridor","city":"Los Cabos","state":"M\u00e9xico","country":"MEX","telephone":"526241440014","ratings":"[]","latitude":"22.9537350","longitude":"-109.8166060"},{"courseName":"Vidanta Golf Los Cabos","address1":"Pase Finisterra #1 Col. Campo de Golf","city":"San Jose Del Cabo","state":"M\u00e9xico","country":"MEX","telephone":"52016241420900","ratings":"[]","latitude":"22.9537350","longitude":"-109.8166060"},{"courseName":"Cabo San Lucas Country Club","address1":"Carretera Transpeninsular","city":"Cabo San Lucas","state":"M\u00e9xico","country":"MEX","telephone":"011526241434654","ratings":"[]","latitude":"22.9135740","longitude":"-109.9098390"},{"courseName":"Cabo Real Golf Course","address1":"Carretera Transpeninsular KM 20, 23400","city":"San Jose Del Cabo","state":"M\u00e9xico","country":"MEX","ratings":"[]","latitude":"22.9906090","longitude":"-109.7678870"},{"courseName":"Quivira Golf Club","address1":"Predio Paraiso Escondido S\/N, Cabo Pacifica","city":"Cabo San Lucas","state":"M\u00e9xico","country":"MEX","telephone":"8009908250","ratings":"[]","latitude":"22.8767430","longitude":"-109.9498150"},{"courseName":"Rancho San Lucas","address1":"","city":"Cabo San Lucas","state":"","country":"MEX","telephone":"","latitude":"22.9069860","longitude":"-109.9660640","website":"","holes":18,"lengthFormat":"Y","scorecard":"[{\"Par\": 5, \"Hole\": 1, \"tees\": {\"teeBox1\": {\"color\": \"Blue\", \"yards\": 502}, \"teeBox2\": {\"color\": \"White\", \"yards\": 0}}, \"Handicap\": 3}, {\"Par\": 4, \"Hole\": 2, \"tees\": {\"teeBox1\": {\"color\": \"Blue\", \"yards\": 376}, \"teeBox2\": {\"color\": \"White\", \"yards\": 0}}, \"Handicap\": 5}, {\"Par\": 3, \"Hole\": 3, \"tees\": {\"teeBox1\": {\"color\": \"Blue\", \"yards\": 205}, \"teeBox2\": {\"color\": \"White\", \"yards\": 0}}, \"Handicap\": 15}, {\"Par\": 4, \"Hole\": 4, \"tees\": {\"teeBox1\": {\"color\": \"Blue\", \"yards\": 313}, \"teeBox2\": {\"color\": \"White\", \"yards\": 0}}, \"Handicap\": 17}, {\"Par\": 3, \"Hole\": 5, \"tees\": {\"teeBox1\": {\"color\": \"Blue\", \"yards\": 199}, \"teeBox2\": {\"color\": \"White\", \"yards\": 0}}, \"Handicap\": 1}, {\"Par\": 4, \"Hole\": 6, \"tees\": {\"teeBox1\": {\"color\": \"Blue\", \"yards\": 365}, \"teeBox2\": {\"color\": \"White\", \"yards\": 0}}, \"Handicap\": 11}, {\"Par\": 4, \"Hole\": 7, \"tees\": {\"teeBox1\": {\"color\": \"Blue\", \"yards\": 353}, \"teeBox2\": {\"color\": \"White\", \"yards\": 0}}, \"Handicap\": 13}, {\"Par\": 5, \"Hole\": 8, \"tees\": {\"teeBox1\": {\"color\": \"Blue\", \"yards\": 510}, \"teeBox2\": {\"color\": \"White\", \"yards\": 0}}, \"Handicap\": 9}, {\"Par\": 4, \"Hole\": 9, \"tees\": {\"teeBox1\": {\"color\": \"Blue\", \"yards\": 363}, \"teeBox2\": {\"color\": \"White\", \"yards\": 0}}, \"Handicap\": 7}, {\"Par\": 4, \"Hole\": 10, \"tees\": {\"teeBox1\": {\"color\": \"Blue\", \"yards\": 355}, \"teeBox2\": {\"color\": \"White\", \"yards\": 0}}, \"Handicap\": 8}, {\"Par\": 3, \"Hole\": 11, \"tees\": {\"teeBox1\": {\"color\": \"Blue\", \"yards\": 119}, \"teeBox2\": {\"color\": \"White\", \"yards\": 0}}, \"Handicap\": 14}, {\"Par\": 4, \"Hole\": 12, \"tees\": {\"teeBox1\": {\"color\": \"Blue\", \"yards\": 406}, \"teeBox2\": {\"color\": \"White\", \"yards\": 0}}, \"Handicap\": 2}, {\"Par\": 5, \"Hole\": 13, \"tees\": {\"teeBox1\": {\"color\": \"Blue\", \"yards\": 532}, \"teeBox2\": {\"color\": \"White\", \"yards\": 0}}, \"Handicap\": 10}, {\"Par\": 4, \"Hole\": 14, \"tees\": {\"teeBox1\": {\"color\": \"Blue\", \"yards\": 358}, \"teeBox2\": {\"color\": \"White\", \"yards\": 0}}, \"Handicap\": 4}, {\"Par\": 4, \"Hole\": 15, \"tees\": {\"teeBox1\": {\"color\": \"Blue\", \"yards\": 367}, \"teeBox2\": {\"color\": \"White\", \"yards\": 0}}, \"Handicap\": 16}, {\"Par\": 4, \"Hole\": 16, \"tees\": {\"teeBox1\": {\"color\": \"Blue\", \"yards\": 283}, \"teeBox2\": {\"color\": \"White\", \"yards\": 0}}, \"Handicap\": 18}, {\"Par\": 3, \"Hole\": 17, \"tees\": {\"teeBox1\": {\"color\": \"Blue\", \"yards\": 148}, \"teeBox2\": {\"color\": \"White\", \"yards\": 0}}, \"Handicap\": 12}, {\"Par\": 5, \"Hole\": 18, \"tees\": {\"teeBox1\": {\"color\": \"Blue\", \"yards\": 557}, \"teeBox2\": {\"color\": \"White\", \"yards\": 0}}, \"Handicap\": 6}]","teeBoxes":"[{\"tee\": \"Blue\", \"slope\": 128, \"handicap\": 70}, {\"tee\": \"White\", \"slope\": 117, \"handicap\": 69.2}]"},{"courseName":"Querencia","address1":"KM 27.5 Carretera Transpeninsular","city":"San Jose del Cabo","state":"M\u00e9xico","country":"MEX","telephone":"8882362229","ratings":"[]","latitude":"23.0317850","longitude":"-109.7464760"}],"rowCount":8,"total":8,"radius":"10 miles","success":true}
Golf courses by coordinates — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/3182/mexico+golf+locator+api/3391/golf+courses+by+coordinates?radius=Required&latitude=Required&longitude=Required&page=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request

To use this endpoint you must indicate a state or province in the parameter.

To obtain the number of golf courses to receive per page you must indicate a value in the per page parameter.

In this case each page will have 10 results.

example = 3

To indicate the page number you must indicate a value in the parameter page.

example = 2

Endpoint ID: 3457
GET https://zylalabs.com/api/3182/mexico+golf+locator+api/3457/golf+clubs+by+state+or+province
INPUT PARAMETERS

Golf clubs by state or province — Endpoint Features

Object Description
filter[state] Required You must indicate a state or province of the Mexico..
per_page Required Number of results
page Required Page to display

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

filter[state]
per_page
page
API EXAMPLE RESPONSE
JSON
{"courses":[{"courseName":"17' Women's State Team","address1":"Las Campanas","city":"Las Campanas","state":"New Mexico","country":"USA","ratings":"[]","latitude":"42.6755890","longitude":"-76.8654160"},{"courseName":"2 & 3","address1":"1 Club House Dr","city":"SANDIA PARK","state":"New Mexico","country":"USA","ratings":"[]","latitude":"17.6635370","longitude":"100.1372780"},{"courseName":"ALBUQUERQUE CC","address1":"","city":"ALBUQUERQUE","state":"New Mexico","country":"USA","ratings":"[]","latitude":"35.0888770","longitude":"-106.6713770"}],"currentPage":2,"perPage":3,"rowCount":3,"total":201,"success":true}
Golf clubs by state or province — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/3182/mexico+golf+locator+api/3457/golf+clubs+by+state+or+province?filter[state]=México&per_page=3&page=2' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request

To use this endpoint you must indicate the name of a city and page in the parameters.

Endpoint ID: 3689
GET https://zylalabs.com/api/3182/mexico+golf+locator+api/3689/golf+clubs+by+city
INPUT PARAMETERS

Golf Clubs by city — Endpoint Features

Object Description
filter[city] Required Indicates a city
page Required Indicates a page

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

filter[city]
page
API EXAMPLE RESPONSE
JSON
{"courses":[{"courseName":"GUADALAJARA","address1":"MAR CARIBE No. 260","city":"Guadalajara","state":"Jalisco","country":"MEX","telephone":"013338172858","ratings":"[]","latitude":"20.7042190","longitude":"-103.3706040"}],"rowCount":1,"total":1,"success":true}
Golf Clubs by city — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/3182/mexico+golf+locator+api/3689/golf+clubs+by+city?filter[city]=Guadalajara&page=1' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Mexico Golf Locator API simply include your bearer token in the Authorization header.

Headers
Header Description
Authorization Required Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.

(Save 2 months with annual billing 🎉)

🚀 Enterprise Plan

Starts at
$ 10,000/Year


  • Custom Volume
  • Custom Rate Limit
  • Specialized Customer Support
  • Real-Time API Monitoring

Overview

About the API:  

Embark on an unparalleled golf journey through the heart of Mexico with the Mexico Golf Locator API. This cutting-edge API is meticulously designed to provide comprehensive information on golf courses across Mexico's diverse landscapes, offering an immersive and personalized experience for golf enthusiasts, developers and businesses alike.

At the core of the Mexico Golf Locator API is its innovative dual query mechanism, which allows users to access detailed information using either the golf course name or specific geographic coordinates. This unique feature ensures a seamless and flexible user experience, accommodating various preferences and simplifying the exploration process.

This API features a comprehensive and continuously updated database that spans all of Mexico, covering a spectrum of golf courses from sun-drenched coastal regions to highland retreats.

In the dynamic realm of golf, staying current is paramount. The Mexico Golf Locator API addresses this imperative by delivering dynamic updates, ensuring that users have access to the latest and most detailed information on course layouts. This feature allows API-driven applications to stay in sync with the constantly evolving nature of the golf world in Mexico.

Distinguished by its seamless integration capabilities, the Mexico Golf Locator API adapts effortlessly to a wide variety of applications. From golf course search engines looking to enhance the user experience to trip planning tools looking to provide detailed information on nearby golf courses, the API is a versatile solution for any golf-centric application.

In conclusion, the Mexico Golf Locator API transcends being a mere source of information; it serves as a gateway to a world of golf knowledge in Mexico's vibrant landscapes. Whether you are a user looking to enhance your golf-related application or an enthusiast eager to explore new courses, the API offers a versatile solution to meet your specific needs. Stay informed, connected and elevate the golf experience with the Mexico Golf Locator API - your key to unlocking the best of Mexico's golf adventures.

 

What this API receives and what your API provides (input/output)?

It will receive parameters and provide you with a JSON.

 

What are the most common uses cases of this API?

  1. Golf Course Exploration App: Craft an app enabling users to discover and explore golf courses based on location, preferences, or specific features.

  2. Vacation Planning Hub: Integrate the API into travel platforms for detailed info on nearby golf courses, facilitating seamless trip planning for golf-centric vacations.

  3. Tournament Planning Assistant: Streamline golf tournament organization by utilizing the API for venue details, aiding organizers in making well-informed decisions.

  4. Golf Course Feedback Hub: Build an app where users can review and rate golf courses, offering a valuable resource for those seeking the best golf experiences.

  5. Course Comparison Navigator: Develop a tool allowing users to compare golf courses based on various criteria like facilities, difficulty level, and user ratings.

 

 

 

Are there any limitations to your plans?

Besides the number of API calls per month, there are no other limitations. 

Mexico Golf Locator API FAQs

To use this API, users must indicate the name of a golf course or indicate coordinates.

The Golf Location Tracker USA API is a powerful tool designed to provide detailed information about golf courses based on either course names or geographic coordinates.

There are different plans suits everyone including a free trial for small amount of requests, but it’s rate is limit to prevent abuse of the service.

Zyla provides a wide range of integration methods for almost all programming languages. You can use these codes to integrate with your project as you need.

Each endpoint returns detailed information about golf courses, including course name, address, city, state, country, telephone, ratings, latitude, and longitude. For specific endpoints, additional data like course scorecard and teebox information may also be included.

Key fields in the response data include "courseName," "address1," "city," "state," "country," "telephone," "ratings," "latitude," and "longitude." These fields provide essential details for identifying and locating golf courses.

Parameters vary by endpoint. For example, the "GET Course details by name" endpoint requires a course name, while the "GET Golf courses by coordinates" endpoint needs latitude, longitude, radius, and page number. Users can customize requests based on their needs.

The response data is organized in a JSON format, typically containing a "courses" array with individual course objects. Each object includes relevant details, along with metadata like "rowCount," "total," and "success" status for easy interpretation.

Each endpoint provides various information types. For instance, the "GET Course Data by Course Name" endpoint offers comprehensive course details, including location, general information, scorecard, and handicap, while others focus on geographic or state-specific data.

Data accuracy is maintained through continuous updates and quality checks. The API's database is regularly refreshed to reflect the latest information about golf courses, ensuring users receive current and reliable data.

Typical use cases include developing golf course exploration apps, vacation planning tools, tournament organization assistants, and course comparison tools. These applications leverage the API to provide users with detailed and relevant golf course information.

Users can utilize the returned data by parsing the JSON response to extract relevant course details for display in applications. For example, they can show course names and locations on maps or provide ratings and contact information for user reference.

General FAQs

To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.

You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.

The free trial lasts for 7 days and allows you to make up to 50 API requests.

No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.

Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.

Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world's most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.
The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.
Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]
Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.
API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.
Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.
To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.
To check how many API calls you have left for the current month, refer to the 'X-Zyla-API-Calls-Monthly-Remaining' field in the response header. For example, if your plan allows 1,000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

You can monitor your API usage through the response headers included with every request:

x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.

The 'X-Zyla-RateLimit-Reset' header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3,600, it means 3,600 seconds are left until the limit resets.

Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.

Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it's important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.
When you subscribe to an API free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.
You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

Please have a look at our Refund Policy: https://zylalabs.com/terms#refund


Related APIs