REST Api
A REST API is provided for quick and easy access to the public call data.
JSON
Request URL (GET):
http://callbytxt.org/db/[callsign].json
Sample Request
http://callbytxt.org/db/w5isp.json
Sample Response
{"calls":{"effective":"2009-06-12","city":"PRINCETON", "zip":"75407","dob":null, "created_at":"2010-05-19T02:07:29Z", "country":null, "updated_at":"2010-05-19T16:02:08Z", "license_class":"G", "expiration":"2016-08-08", "street":"PO Box 1487", "id":1255804, "gridsquare":"EM13sf", "previous_call":" ", "last_name":"MCINTIRE", "callsign":"KC5VQD", "precision":"address" ,"previous_class":null, "lat":"33.345921", "state":"TX", "long":"-96.726613", "first_name":"GRAHAM D"}}
XML
Request URL (GET):
http://callbytxt.org/db/[callsign].xml
Sample Request
http://callbytxt.org/db/w5isp.xml
Sample Response
<calls> <callsign>KC5VQD</callsign> <city>BLUE RIDGE</city> <country nil="true"></country> <created-at type="datetime">2010-05-19T02:07:29Z</created-at> <dob type="date" nil="true"></dob> <effective type="date">2009-06-12</effective> <expiration type="date">2016-08-08</expiration> <first-name>GRAHAM D</first-name> <gridsquare>EM13sf</gridsquare> <id type="integer">1255804</id> <last-name>MCINTIRE</last-name> <lat>33.345921</lat> <license-class>G</license-class> <long>-96.726613</long> <precision>address</precision> <previous-call></previous-call> <previous-class nil="true"></previous-class> <state>TX</state> <street>PO Box 1487</street> <updated-at type="datetime">2010-05-19T16:02:08Z</updated-at> <zip>75407</zip> </callsign> </calls>
