Scottish Golf Courses API

API ID 3183

Embark on a golfing odyssey through Scotland with the Scottish Golf Courses API, revealing premier fairways and enriching golfing experiences seamlessly.

100% uptime 232 ms avg response

API Documentation

Endpoints

Request

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

Endpoint ID: 3392
GET https://zylalabs.com/api/3183/scottish+golf+courses+api/3392/search+scottish+golf+courses+by+name
INPUT PARAMETERS

Search Scottish golf courses by name — Endpoint Features

Object Description
filter[courseName] Required Must indicate the name of an example golf course: Strathmore Rannaleroch

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

filter[courseName]
API EXAMPLE RESPONSE
JSON
{"courses":[{"courseName":"Strathmore Rannaleroch","address1":"Strathmore Golf Centre Ltd","city":"Alyth, Blairgowrie","state":"Perth and Kinross","country":"SCO","ratings":"[]","latitude":"56.6015070","longitude":"-3.2196750"}],"rowCount":1,"total":1,"success":true}
Search Scottish golf courses by name — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/3183/scottish+golf+courses+api/3392/search+scottish+golf+courses+by+name?filter[courseName]=Strathmore Rannaleroch' --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: 3393
GET https://zylalabs.com/api/3183/scottish+golf+courses+api/3393/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: 56.57285229115576.
longitude Required You must indicate a length for example: -3.3363180468812828.
page Required You must indicate a page value, e.g.: 1

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

radius
latitude
longitude
page
API EXAMPLE RESPONSE
JSON
{"courses":[{"courseName":"Strathmore Rannaleroch","address1":"Strathmore Golf Centre Ltd","city":"Alyth, Blairgowrie","state":"Perth and Kinross","country":"SCO","ratings":"[]","latitude":"56.6015070","longitude":"-3.2196750"},{"courseName":"Dunkeld & Birnam","address1":"Dunkeld & Birnam Golf Club","city":"Perth","state":"Perth and Kinross","country":"SCO","ratings":"[]","latitude":"56.5701450","longitude":"-3.5757410"}],"rowCount":2,"total":2,"radius":"10 miles","success":true}
Golf courses by coordinates — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/3183/scottish+golf+courses+api/3393/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: 3455
GET https://zylalabs.com/api/3183/scottish+golf+courses+api/3455/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 Scotland.
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":"Dunkeld & Birnam","address1":"Dunkeld & Birnam Golf Club","city":"Perth","state":"Perth and Kinross","country":"SCO","ratings":"[]","latitude":"56.5701450","longitude":"-3.5757410"},{"courseName":"Glenalmond College","address1":"Glenalmond","city":"Perth","state":"Perth and Kinross","country":"SCO","ratings":"[]","latitude":"56.4310260","longitude":"-3.6729590"},{"courseName":"Gleneagles Queen's","address1":"The Gleneagles Hotel","city":"Auchterarder","state":"Perth and Kinross","country":"SCO","ratings":"[]","latitude":"33.0310850","longitude":"-96.8082770"}],"currentPage":2,"perPage":3,"rowCount":3,"total":10,"success":true}
Golf clubs by state or province — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/3183/scottish+golf+courses+api/3455/golf+clubs+by+state+or+province?filter[state]=Perth and Kinross&per_page=3&page=2' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request

To use this endpoint you must indicate the name of a city in the parameter.

Endpoint ID: 3688
GET https://zylalabs.com/api/3183/scottish+golf+courses+api/3688/golf+clubs+by+city
INPUT PARAMETERS

Golf Clubs by city — Endpoint Features

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

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

filter[city]
page
API EXAMPLE RESPONSE
JSON
{"courses":[{"courseName":"Aberdeen Country Club","address1":"200 Club Park Drive","city":"Aberdeen","state":"Mississippi","country":"USA","telephone":"6623696251","ratings":"[]","latitude":"33.9211000","longitude":"-78.7195220"},{"courseName":"Aberdeen Golf Club","address1":"","city":"Aberdeen","state":"New South Wales","country":"AUS","ratings":"[]","latitude":"38.5349150","longitude":"-90.6165760"},{"courseName":"Balnagask","address1":"Nigg Bay","city":"Aberdeen","state":"Aberdeen City","country":"SCO","ratings":"[]","latitude":"57.1398400","longitude":"-2.0682430"},{"courseName":"Beechtree Golf Club","address1":"811 South Stepney Rd.","city":"Aberdeen","state":"Maryland","country":"USA","telephone":"4102979700","ratings":"[]","latitude":"37.1876870","longitude":"127.4031290"},{"courseName":"CRAIBSTONE","address1":"Craibstone Estate","city":"Aberdeen","state":"Grampian","country":"GBR","telephone":"01224 716777","latitude":"57.1850740","longitude":"-2.2124810","website":"","holes":18,"lengthFormat":"Y","scorecard":"[{\"1\": \"4\", \"2\": \"3\", \"3\": \"4\", \"4\": \"5\", \"5\": \"5\", \"6\": \"3\", \"7\": \"3\", \"8\": \"4\", \"9\": \"4\", \"Out\": \"35\", \"Hole:\": \"Par:\"}, {\"1\": \"323\", \"2\": \"35\", \"3\": \"374\", \"4\": \"487\", \"5\": \"517\", \"6\": \"195\", \"7\": \"183\", \"8\": \"303\", \"9\": \"381\", \"Out\": \"2898\", \"Hole:\": \"White:\"}, {\"1\": \"12\", \"2\": \"14\", \"3\": \"6\", \"4\": \"4\", \"5\": \"2\", \"6\": \"8\", \"7\": \"18\", \"8\": \"16\", \"9\": \"10\", \"Out\": \"\", \"Hole:\": \"Handicap:\"}, {\"10\": \"3\", \"11\": \"4\", \"12\": \"3\", \"13\": \"4\", \"14\": \"4\", \"15\": \"4\", \"16\": \"4\", \"17\": \"4\", \"18\": \"4\", \"In\": \"34\", \"Hole:\": \"Par:\", \"Total\": \"69\"}, {\"10\": \"158\", \"11\": \"362\", \"12\": \"175\", \"13\": \"398\", \"14\": \"393\", \"15\": \"330\", \"16\": \"306\", \"17\": \"348\", \"18\": \"412\", \"In\": \"2882\", \"Hole:\": \"White:\", \"Total\": \"5780\"}, {\"10\": \"11\", \"11\": \"1\", \"12\": \"7\", \"13\": \"3\", \"14\": \"15\", \"15\": \"13\", \"16\": \"17\", \"17\": \"5\", \"18\": \"9\", \"In\": \"\", \"Hole:\": \"Handicap:\", \"Total\": \"\"}]","teeBoxes":"[{\"name\": \"White\", \"slope\": \"113\", \"rating\": \"70\"}]"},{"courseName":"Devenick","address1":"South Deeside Road","city":"Aberdeen","state":"Aberdeenshire","country":"SCO","ratings":"[]"},{"courseName":"Exton Golf Course","address1":"Bldg. E1260","city":"Aberdeen Proving Ground","state":"Maryland","country":"USA","telephone":"4102784794","ratings":"[]","latitude":"39.4114110","longitude":"-76.2929940"},{"courseName":"Grays Harbor Country Club","address1":"5300 Central Park Drive","city":"Aberdeen","state":"Washington","country":"USA","telephone":"3605321931","ratings":"[]","latitude":"46.9644720","longitude":"-123.7301550","website":"","holes":9,"lengthFormat":"Y","scorecard":"[{\"1\": \"5\", \"2\": \"4\", \"3\": \"4\", \"4\": \"3\", \"5\": \"4\", \"6\": \"4\", \"7\": \"3\", \"8\": \"4\", \"9\": \"3\", \"Out\": \"35\", \"Hole:\": \"Par:\"}, {\"1\": \"529\", \"2\": \"329\", \"3\": \"413\", \"4\": \"142\", \"5\": \"540\", \"6\": \"264\", \"7\": \"160\", \"8\": \"346\", \"9\": \"192\", \"Out\": \"2915\", \"Hole:\": \"White:\"}, {\"1\": \"5\", \"2\": \"11\", \"3\": \"1\", \"4\": \"13\", \"5\": \"3\", \"6\": \"15\", \"7\": \"17\", \"8\": \"7\", \"9\": \"9\", \"Out\": \"\", \"Hole:\": \"Handicap:\"}]","teeBoxes":"[{\"name\": \"White\", \"slope\": \"112\", \"rating\": \"70\"}]"},{"courseName":"Hazard Creek Golf Course","address1":"419 E. Bingham St","city":"Aberdeen","state":"Idaho","country":"USA","telephone":"2083975308","email":"[email protected]","ratings":"[]","latitude":"42.9495720","longitude":"-112.8325480"},{"courseName":"Insch Golf Club","address1":"Golf Street","city":"Aberdeenshire","state":"","country":"SCO","telephone":"01464820363","latitude":"57.4191170","longitude":"-1.8765060","website":"www.insch4golf.com","holes":18,"lengthFormat":"Y","scorecard":"[{\"1\": \"4\", \"2\": \"4\", \"3\": \"4\", \"4\": \"4\", \"5\": \"4\", \"6\": \"3\", \"7\": \"4\", \"8\": \"3\", \"9\": \"4\", \"Out\": \"35\", \"Hole:\": \"Par:\"}, {\"1\": \"418\", \"2\": \"354\", \"3\": \"364\", \"4\": \"309\", \"5\": \"416\", \"6\": \"166\", \"7\": \"272\", \"8\": \"175\", \"9\": \"534\", \"Out\": \"3008\", \"Hole:\": \"White:\"}, {\"1\": \"9\", \"2\": \"5\", \"3\": \"11\", \"4\": \"15\", \"5\": \"1\", \"6\": \"7\", \"7\": \"17\", \"8\": \"13\", \"9\": \"3\", \"Out\": \"\", \"Hole:\": \"Handicap:\"}, {\"10\": \"4\", \"11\": \"4\", \"12\": \"4\", \"13\": \"3\", \"14\": \"4\", \"15\": \"4\", \"16\": \"5\", \"17\": \"3\", \"18\": \"3\", \"In\": \"34\", \"Hole:\": \"Par:\", \"Total\": \"69\"}, {\"10\": \"268\", \"11\": \"285\", \"12\": \"307\", \"13\": \"155\", \"14\": \"271\", \"15\": \"278\", \"16\": \"487\", \"17\": \"129\", \"18\": \"162\", \"In\": \"2342\", \"Hole:\": \"White:\", \"Total\": \"5350\"}, {\"10\": \"12\", \"11\": \"4\", \"12\": \"6\", \"13\": \"16\", \"14\": \"14\", \"15\": \"8\", \"16\": \"2\", \"17\": \"18\", \"18\": \"10\", \"In\": \"\", \"Hole:\": \"Handicap:\", \"Total\": \"\"}]","teeBoxes":"[{\"name\": \"White\", \"slope\": \"113\", \"rating\": \"70\"}]"}],"rowCount":10,"total":27,"success":true}
Golf Clubs by city — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/3183/scottish+golf+courses+api/3688/golf+clubs+by+city?filter[city]=Aberdeen&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 Scottish Golf Courses 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.

(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
zeiss-logo amazon-logo zoom-logo decathlon-logo

Trusted by leading companies

Overview

About the API:  

Welcome to the Scottish Golf Courses API, your virtual gateway to Scotland's majestic and historic golf courses. This API is your passport to discover the beauty, challenge and rich heritage of golf in the land of golf's birth. Immerse yourself in an unparalleled golfing adventure, seamlessly blending technology with the tradition of Scotland's famous fairways.

At the heart of the Scottish Golf Courses API is a commitment to providing users with an extensive and meticulously selected database of golf courses from across the country. From the iconic courses along the rugged coastlines to the inland gems surrounded by Scotland's picturesque landscapes, this API provides a comprehensive repository of information for golf enthusiasts, developers and golf fans alike.

The Scottish Golf Courses API introduces a unique dual-query mechanism, allowing users to access information through both course names and specific geographic coordinates. This versatility ensures a user-friendly experience, allowing users to effortlessly navigate Scotland's vast golfing landscape.

Immerse yourself in the wealth of detail provided by the API, including layout, facilities, contact information and much more for each golf course. Stay informed about the dynamic nature of the golfing world with regularly updated data, ensuring users have access to the latest information on course layout, facilities and any other changes that may affect their golfing experience.

For users, the Scottish Golf Courses API opens up a world of possibilities. Create intuitive golf course search applications that allow users to explore Scottish fairways based on their location, preferences or specific features.

In conclusion, the Scottish Golf Courses API is a bridge between the rich tradition of Scottish golf and the dynamic possibilities offered by technology. Whether you are a user creating innovative applications or a golfer looking to explore the treasures of Scottish fairways, this API is your key to an immersive and unforgettable golf experience. Stay informed, connected and elevate your Scottish golf journey with the Scottish Golf Courses API.

 

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 search application: Develop an application that allows users to discover and explore golf courses based on their location, preferences, or specific characteristics.

    Trip planning tool: Enhance travel platforms by integrating the API to provide users with detailed information about nearby golf courses, facilitating seamless trip planning for golf-centric vacations.

    Event management for golf tournaments: Streamline golf tournament planning by leveraging the API to gather detailed information on potential venues, helping organizers make informed decisions.

    Golf Course Reviews and Ratings Platform: Create an application where users can review and rate golf courses, providing a valuable resource for others seeking the best golf experiences.

    Golf Course Comparison Tool: Develop a tool that allows users to compare various golf courses based on a variety of criteria, such as facilities, level of difficulty, and user ratings.

     

 

Are there any limitations to your plans?

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

Scottish Golf Courses API FAQs

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

The Scottish Golf Courses 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 Scottish golf courses, including course names, addresses, geographic coordinates, ratings, and additional features like facilities and contact information.

Key fields in the response data include "courseName," "address1," "city," "state," "country," "latitude," "longitude," "ratings," and "rowCount," which provide essential details about each golf course.

Parameters vary by endpoint; for example, the search by name requires a course name, while the coordinates endpoint requires latitude, longitude, radius, and page number. Users can customize requests based on their needs.

The response data is structured in JSON format, with a "courses" array containing individual course objects. Each object includes relevant details, and the response also includes metadata like "rowCount" and "success."

Each endpoint provides specific information: searching by name returns course details, coordinates yield nearby courses, and querying by city or state offers a list of courses in that area, including their attributes.

Data accuracy is maintained through regular updates and quality checks, ensuring that users receive the most current information about course layouts, facilities, and other relevant details.

Typical use cases include developing golf course search applications, trip planning tools for golf vacations, and platforms for reviewing and comparing golf courses based on user preferences.

Users can utilize the returned data by integrating it into applications for searching, displaying, or comparing golf courses, allowing for enhanced user experiences tailored to specific golfing interests.

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