# QRZ.com API reference

> The QRZ XML Callbook Data service looks up amateur radio callsigns in QRZ.com's database and returns name, address, coordinates, grid locator, licence dates and class, email, QSL information and the profile image URL as XML. An investigator uses it to resolve a callsign to a licence holder record…

Source: https://osinttools.io/apis/qrz-callsign-lookup/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/qrz-callsign-lookup/

- Base URL: https://xmldata.qrz.com/xml
- Authentication: No key needed. Log in with username and password to get a session key, then pass it as the s parameter on each request. The docs recommend caching the key and logging in once per session.
- Free tier: a free trial only
- Pricing: Subscription
- Rate limits: Not stated in the docs
- Vendor docs: https://www.qrz.com/page/xml_data.html

## Overview

The QRZ XML Callbook Data service looks up amateur radio callsigns in QRZ.com's database and returns name, address, coordinates, grid locator, licence dates and class, email, QSL information and the profile image URL as XML. An investigator uses it to resolve a callsign to a licence holder record and location. It also resolves prefixes and callsigns to DXCC countries.

Calls are plain HTTP GET or POST to `https://xmldata.qrz.com/xml/` with the query parameters in the address (`&` or `;` as separator). First log in with `username` and `password` to get a session key, then send that key as `s` with each lookup. The docs say to cache the key and log in only once per session; the key has no guaranteed lifetime and can be invalidated if your IP address changes. A version in the path (`current`, or for example `1.34`) picks the interface version; without one the legacy 1.24 behaviour applies.

A QRZ XML Logbook Data subscription is required for most features. Non-subscriber access returns fewer fields and is meant for testing. The login response reports the number of lookups made in the last 24 hours and the subscription expiry. Responses are XML and every one starts with the `QRZDatabase` element; clients must ignore nodes they do not know.

## Errors

| Status | Meaning |
| --- | --- |
| 200 | Errors are reported inside the XML Session node as an Error element, for example "Not found: <callsign>", "Session Timeout" or "password incorrect" |

## Session

### Log in with a QRZ username and password to get a session key.

`GET /current/`

- Footprint: passive (the target is not contacted)
- Plan: Any QRZ account; full data needs a subscription

Returns a Session node with Key, Count (lookups in the last 24 hours), SubExp (subscription expiry or non-subscriber) and GMTime. Reuse the key for later calls. If the response has no Key, log in again. An Error of "Connection refused" means service is refused for the user and login will not work for at least 24 hours.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `username` | query | string | yes | A valid QRZ user name Example: xx1xxx |
| `password` | query | string | yes | The password for the user name Example: YOUR_PASSWORD |
| `agent` | query | string | no | Product name and version of the client program, recommended for troubleshooting Example: myclient1.0 |

Response fields:

- `QRZDatabase.Session.Key` (string): Session key to send as s on later requests
- `QRZDatabase.Session.Count` (integer): Lookups made by this user in the current 24 hour period
- `QRZDatabase.Session.SubExp` (string): Subscription expiry, or non-subscriber
- `QRZDatabase.Session.GMTime` (string): Timestamp of the message
- `QRZDatabase.Session.Error` (string): Error message, when the login failed

```bash
curl 'https://xmldata.qrz.com/xml/current/?username=xx1xxx&password=YOUR_PASSWORD'
```

Example response (200):

```
<?xml version="1.0" ?>
<QRZDatabase version="1.34">
 <Session>
  <Key>YOUR_SESSION_KEY</Key>
  <Count>12</Count>
  <SubExp>Wed Jan 1 12:34:03 2031</SubExp>
  <GMTime>Sun Nov 16 04:13:46 2030</GMTime>
 </Session>
</QRZDatabase>
```

## Lookups

### Look up a callsign record: licence holder, address, coordinates, QSL info.

`GET /1.34/`

- Takes: Name
- Footprint: passive (the target is not contacted)

Send the session key as s and the callsign as callsign. The version in the path can be any supported release or current. Not all fields are returned with each request and field order is arbitrary; non-subscribers get a limited set. Use html=<callsign> in place of callsign to fetch the biography as HTML instead of XML.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `s` | query | string | yes | Session key from the login response Example: YOUR_SESSION_KEY |
| `callsign` | query | string | yes | The callsign to look up Example: xx1xxx |

Response fields:

- `QRZDatabase.Callsign.call` (string): Callsign
- `QRZDatabase.Callsign.xref` (string): The query callsign that returned this record
- `QRZDatabase.Callsign.aliases` (string): Other callsigns that resolve to this record
- `QRZDatabase.Callsign.fname` (string): First name
- `QRZDatabase.Callsign.name` (string): Last name
- `QRZDatabase.Callsign.addr1` (string): Address line 1 (house number and street)
- `QRZDatabase.Callsign.addr2` (string): Address line 2 (city)
- `QRZDatabase.Callsign.state` (string): State (USA only)
- `QRZDatabase.Callsign.zip` (string): ZIP or postal code
- `QRZDatabase.Callsign.country` (string): Country of the QSL mailing address
- `QRZDatabase.Callsign.lat` (number): Latitude, signed decimal
- `QRZDatabase.Callsign.lon` (number): Longitude, signed decimal
- `QRZDatabase.Callsign.grid` (string): Grid locator
- `QRZDatabase.Callsign.geoloc` (string): Source of the coordinates: user, geocode, grid, zip, state, dxcc or none
- `QRZDatabase.Callsign.efdate` (string): Licence effective date (USA)
- `QRZDatabase.Callsign.expdate` (string): Licence expiration date (USA)
- `QRZDatabase.Callsign.class` (string): Licence class
- `QRZDatabase.Callsign.email` (string): Email address
- `QRZDatabase.Callsign.url` (string): Web page address
- `QRZDatabase.Callsign.bio` (string): Approximate size in bytes of the biography HTML; present only if a biography exists
- `QRZDatabase.Callsign.image` (string): URL of the primary image
- `QRZDatabase.Callsign.moddate` (string): Date the record was last modified
- `QRZDatabase.Callsign.born` (string): Operator's year of birth
- `QRZDatabase.Session.Error` (string): Error such as Not found: <callsign> or Session Timeout

```bash
curl 'https://xmldata.qrz.com/xml/1.34/?s=YOUR_SESSION_KEY&callsign=xx1xxx'
```

Example response (200):

```
<?xml version="1.0" ?>
<QRZDatabase version="1.34">
 <Callsign>
  <call>XX1XXX</call>
  <dxcc>291</dxcc>
  <fname>JANE</fname>
  <name>EXAMPLE</name>
  <addr1>1 EXAMPLE STREET</addr1>
  <addr2>EXAMPLEVILLE</addr2>
  <state>ZZ</state>
  <zip>00000</zip>
  <country>United States</country>
  <lat>10.00000</lat>
  <lon>-10.00000</lon>
  <grid>AA00aa</grid>
  <class>E</class>
  <email>jane@example.com</email>
  <geoloc>user</geoloc>
 </Callsign>
 <Session>
  <Key>YOUR_SESSION_KEY</Key>
  <Count>13</Count>
  <SubExp>Wed Jan 1 12:34:03 2031</SubExp>
  <GMTime>Sun Nov 16 04:13:47 2030</GMTime>
 </Session>
</QRZDatabase>
```

### Look up a DXCC entity by code or by callsign prefix, or list all entities.

`GET /current/?dxcc=291`

- Footprint: passive (the target is not contacted)

The dxcc parameter takes a number (the entity, as in the path above), a callsign (the server reduces it to a 4, then 3, then 2-letter prefix and returns the first match) or the keyword all (380+ records; the docs ask you to use it sparingly). A non-matching lookup returns No DXCC information for the query in the session error.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `s` | query | string | yes | Session key from the login response Example: YOUR_SESSION_KEY |

Response fields:

- `QRZDatabase.DXCC.dxcc` (integer): DXCC entity number
- `QRZDatabase.DXCC.cc` (string): 2-letter country code (ISO 3166)
- `QRZDatabase.DXCC.name` (string): Long name
- `QRZDatabase.DXCC.continent` (string): 2-letter continent designator
- `QRZDatabase.DXCC.ituzone` (string): ITU zone
- `QRZDatabase.DXCC.cqzone` (string): CQ zone
- `QRZDatabase.DXCC.timezone` (string): UTC offset in hours
- `QRZDatabase.DXCC.lat` (number): Approximate latitude
- `QRZDatabase.DXCC.lon` (number): Approximate longitude

```bash
curl 'https://xmldata.qrz.com/xml/current/?dxcc=291&s=YOUR_SESSION_KEY'
```

Example response (200):

```
<?xml version="1.0" ?>
<QRZDatabase version="1.34">
 <DXCC>
  <dxcc>291</dxcc>
  <cc>US</cc>
  <name>United States</name>
  <continent>NA</continent>
  <ituzone>6</ituzone>
  <cqzone>3</cqzone>
  <timezone>-5</timezone>
  <lat>37.0</lat>
  <lon>-97.0</lon>
 </DXCC>
 <Session>
  <Key>YOUR_SESSION_KEY</Key>
  <Count>14</Count>
 </Session>
</QRZDatabase>
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
