This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
api [2019/02/10 16:24] 127.0.0.1 external edit |
api [2023/09/15 11:50] kd6kpc [Attrubtion] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | [[https:// | + | |
- | ===== Application Import | + | |
- | Users can select a number of parameters from the Repeaterbook search from within the application: | + | ===== Overview ===== |
- | * State or Province | ||
- | * Frequency bands | ||
- | * Location | ||
- | * Radius | ||
+ | The RepeaterBook API allows developers access to repeater data. The API is based upon [[https:// | ||
- | If the user does not enter a location, the import will include all repeaters for the selected band(s). If the user does not select any bands, the import will include all repeaters for the selected location. If the location in blank, then the user will receive | + | The API is located at https://www.repeaterbook.com/ |
- | ===== ROW Import | + | ===== Use Authorization |
- | With Repeaterbook' | + | |
- | RT Systems provides | + | Use of the data is for personal use only. The data cannot be fed to a commercial product for sale or otherwise. The use of the data may not compete with the RepeaterBook web or mobile application products. The data cannot be incorporated into an app or website with distribution beyond immediate personal use without the expressed written consent of RepeaterBook.com. |
- | * Latitude | + | |
- | * Longitude | + | |
- | * Radius | + | |
- | * Radius unit | + | |
- | * Band(s) | + | |
- | Repeaterbook then searches | + | ===== Scope ===== |
+ | All of the content, documentation, | ||
- | ===== Web Export | + | ===== Use ===== |
- | Repeaterbook.com offers | + | You may use any RepeaterBook API to develop |
- | Search types where you can find the export include: | + | ===== Attrubtion ===== |
+ | All services that utilize or access | ||
- | * North American Single State Search | + | ===== Modification or False Representation of Content ===== |
- | * North American Multi-State Search | + | You may not modify or falsely represent content accessed through |
- | * North American/ | + | |
- | * North American/ | + | |
- | * North American/ | + | |
- | * Custom Radio Memories | + | |
- | * United States County Search | + | |
- | * Worldwide Search by Country | + | |
- | ==== API Details | + | |
- | ^Column ^ Details ^Values ^ | + | |
- | |Channel Number |The memory number |Auto-incremented | | + | |
- | |Receive Frequency |The repeater downlink frequency | | | + | |
- | |Transmit Frequency |The repeater uplinkm frequency | | | + | |
- | |Offset Direction |Split direction |-, +, s, x | | + | |
- | |Name |Name the channel |Repeater Callsign | | + | |
- | |Tone Mode |Signaling method |None, Tone, T SQL, DCS, D Code | | + | |
- | |CTCSS|Uplink signaling tone | | | + | |
- | |RX CTCSS |Downlink signaling tone | | | + | |
- | |DCS |Uplink signaling digital code | | | + | |
- | |RX DCS |Downlink digital signaling code | | | + | |
- | |Comment| |Repeater nearest city and landmark | | + | |
+ | ===== Right to Limit ===== | ||
+ | Your use of the API may be subject to certain limitations on access, calls, or use as set forth within this Agreement or otherwise provided by RepeaterBook. If RepeaterBook reasonably believes that you have attempted to exceed or circumvent these limits, your ability to use the API may be permanently or temporarily blocked. RepeaterBook may monitor your use of the API to improve the service or to ensure compliance with this Agreement. | ||
+ | ===== Service Termination ===== | ||
+ | If you wish to terminate this Agreement, you may do so by refraining from further API use. RepeaterBook reserves the right (though not the obligation) to (1) refuse to provide the API to you if it is RepeaterBook' | ||
+ | |||
+ | ===== Changes ===== | ||
+ | RepeaterBook reserves the right, at its sole discretion, to modify or replace this Agreement, in whole or in part. Your continued use of or access to the API after posting any changes to this Agreement constitutes acceptance of those modified terms. RepeaterBook may, in the future, offer new services and/or features through the API. Such new features and/or services shall be subject to the terms and conditions of this Agreement. | ||
+ | |||
+ | ===== Disclaimer of Warranties ===== | ||
+ | The API is provided "as is" and on an " | ||
+ | |||
+ | ===== Limitations on Liability ===== | ||
+ | In no event will RepeaterBook be liable with respect to any subject matter of this Agreement under any contract, negligence, strict liability, or other legal or equitable theory for (1) any special, incidental, or consequential damages; (2) the cost of procurement of substitute products or services; or (3) for interruption of use or loss or corruption of data. | ||
+ | |||
+ | ===== General Representations ===== | ||
+ | You hereby warrant that (1) your use of the API will be in strict accordance with the RepeaterBook privacy policy, this Agreement, and all applicable laws and regulations, | ||
+ | |||
+ | ===== Indemnification ===== | ||
+ | You agree to indemnify and hold harmless RepeaterBook, | ||
+ | |||
+ | ===== Miscellaneous ===== | ||
+ | This Agreement constitutes the entire Agreement between RepeaterBook and you concerning the subject matter hereof, and may only be modified by the posting of a revised version on this page by RepeaterBook. | ||
+ | |||
+ | ===== No Waiver of rights ===== | ||
+ | RepeaterBook' | ||
+ | ===== Pricing ===== | ||
+ | |||
+ | All the information presented via the API is intended to be open data and free to use for any purpose. As a public service of RepeaterBook.com, | ||
+ | |||
+ | All public-facing apps must provide credit back to RepeaterBook for the data. | ||
+ | |||
+ | ===== Content Negotiation ===== | ||
+ | |||
+ | Every request, either by browser or application, | ||
+ | |||
+ | ===== Authentication ===== | ||
+ | |||
+ | A User Agent is required to identify your application. This string can be anything, and the more unique to your application, | ||
+ | |||
+ | **User-Agent: | ||
+ | |||
+ | ===== Format ===== | ||
+ | |||
+ | Endpoints have the JSON default format. | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ===== North America ===== | ||
+ | |||
+ | ===== Available Data ===== | ||
+ | |||
+ | * State ID (FIPS) | ||
+ | * Repeater ID | ||
+ | * Frequency | ||
+ | * Input Frequency | ||
+ | * PL/CTCSS Uplink | ||
+ | * PL/CTCSS TSQ Downlink | ||
+ | * Location/ | ||
+ | * Landmark | ||
+ | * County (US only) | ||
+ | * State | ||
+ | * Callsign | ||
+ | * Use/ | ||
+ | * Operational Status | ||
+ | * ARES | ||
+ | * RACES | ||
+ | * SKYWARN | ||
+ | * CANWARN | ||
+ | * Operating Mode | ||
+ | * AllStar Node | ||
+ | * EchoLink Node | ||
+ | * IRLP Node | ||
+ | * WIRES Node | ||
+ | * DMR Capable | ||
+ | * DMR ID | ||
+ | * DMR Color Code | ||
+ | * D-Star Capable | ||
+ | * NXDN Capable | ||
+ | * P-25 Capable | ||
+ | * P-25 NAC | ||
+ | * M17 | ||
+ | * M17 CAN | ||
+ | * Tetra Capable | ||
+ | * Tetra MCC | ||
+ | * Tetra MNC | ||
+ | * Yaesu System Fusion Capable | ||
+ | * YSF Digital ID Uplink | ||
+ | * YSF Digital ID Downlink | ||
+ | * YSF DSC | ||
+ | * Analog Capable | ||
+ | * Notes | ||
+ | * Last Update | ||
+ | |||
+ | All repeaters are identified by a combination of the state ID and the repeater ID. The state ID is based on [[https:// | ||
+ | ===== api/ | ||
+ | |||
+ | * callsign - Repeater callsign | ||
+ | * city - Repeater city | ||
+ | * landmark | ||
+ | * state - State / Province | ||
+ | * country - Repeater country | ||
+ | * county - Repeater county | ||
+ | * frequency - Repeater frequency | ||
+ | * mode - Repeater operating mode (analog, DMR, NXDN, P25, tetra) | ||
+ | * emcomm - ARES, RACES, SKYWARN, CANWARN | ||
+ | * stype - Service type. Only required when searching for GMRS repeaters. ex: stype=gmrs | ||
+ | |||
+ | |||
+ | ===== Output Format Parameter ===== | ||
+ | |||
+ | The format is json - JavaScript Object Notation. | ||
+ | |||
+ | ===== Wildcards ===== | ||
+ | |||
+ | * % - will allow wild card searching | ||
+ | |||
+ | examples | ||
+ | * callsign=kd6% - All callsigns beginning with ' | ||
+ | * callsign=%kpc - All callsigns ending with ' | ||
+ | * callsign=kd%kpc - All callsigns beginning with ' | ||
+ | * callsign=%kp% - All callsigns with ' | ||
+ | |||
+ | |||
+ | |||
+ | ===== Sample Usage ===== | ||
+ | |||
+ | **HTTPS example - US and Canada** | ||
+ | |||
+ | https:// | ||
+ | |||
+ | ===== Limitations and Exclusions ===== | ||
+ | |||
+ | * ATV repeaters are not included | ||
+ | |||
+ | ===== Outside of North America ===== | ||
+ | |||
+ | ===== Available Data ===== | ||
+ | |||
+ | * State ID (FIPS) | ||
+ | * Repeater ID | ||
+ | * Frequency | ||
+ | * Input Frequency | ||
+ | * PL/CTCSS Uplink | ||
+ | * PL/CTCSS TSQ Downlink | ||
+ | * Location/ | ||
+ | * Landmark | ||
+ | * Region (if available) | ||
+ | * Country | ||
+ | * Callsign | ||
+ | * Use/ | ||
+ | * Operational Status | ||
+ | * Operating Mode | ||
+ | * AllStar Node | ||
+ | * EchoLink Node | ||
+ | * IRLP Node | ||
+ | * WIRES Node | ||
+ | * DMR Capable | ||
+ | * DMR ID | ||
+ | * DMR Color Code | ||
+ | * D-Star Capable | ||
+ | * NXDN Capable | ||
+ | * P-25 Capable | ||
+ | * P-25 NAC | ||
+ | * M17 | ||
+ | * M17 CAN | ||
+ | * Tetra Capable | ||
+ | * Tetra MCC | ||
+ | * Tetra MNC | ||
+ | * Yaesu System Fusion Capable | ||
+ | * YSF Digital ID Uplink | ||
+ | * YSF Digital ID Downlink | ||
+ | * YSF DSC | ||
+ | * Analog Capable | ||
+ | * Notes | ||
+ | * Last Update | ||
+ | |||
+ | On Repeaterbook.com, | ||
+ | ===== api/ | ||
+ | |||
+ | * callsign - Repeater callsign | ||
+ | * city - Repeater city | ||
+ | * landmark | ||
+ | * country - Repeater country | ||
+ | * region- Repeater region (if available) | ||
+ | * frequency - Repeater frequency | ||
+ | * mode - Repeater operating mode (analog, DMR, NXDN, P25, tetra) | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ===== Wildcards ===== | ||
+ | |||
+ | * % - will allow wild card searching | ||
+ | |||
+ | examples | ||
+ | * callsign=kd6% - All callsigns beginning with ' | ||
+ | * callsign=%kpc - All callsigns ending with ' | ||
+ | * callsign=kd%kpc - All callsigns beginning with ' | ||
+ | * callsign=%kp% - All callsigns with ' | ||
+ | |||
+ | |||
+ | ===== Sample usages ===== | ||
+ | |||
+ | **HTTPS example - Switzerland** | ||
+ | |||
+ | https:// | ||
+ | |||
+ | ===== Limitations and Exclusions ===== | ||
+ | |||
+ | * ATV repeaters are not included | ||
+ | |||
+ | ===== Rate Limiting ===== | ||
+ | |||
+ | Various actions of the API can be rate limited. The actual limits are not published. However, if a human user using a browser is querying the API, there should not be any throttling issues. If you receive a rate-limiting message, wait at least 10 seconds and up to 60 seconds to reset the limiter. | ||
+ | |||
+ | The API is not intended for use by non-human-initiated (automated) transactions. If you have a business requirement that requires exceptions to the rate limits, please get in touch with the RepeaterBook administrator for pricing options. | ||
+ | |||
+ | ===== Requested Improvements ===== | ||
+ | |||
+ | * Add an array of linked repeaters |