ad: k1jek

Using an XML query to pull a list of all hams in a zip code or county

Discussion in 'QRZ XML Logbook Data' started by KB9AZZ, Jun 22, 2025.

ad: L-giga
ad: L-HROutlet
ad: l-rl
ad: l-BCInc
ad: abrind-2
ad: chuckmartin-2
ad: Left-3
ad: Left-2
ad: ldg-1
  1. KB9AZZ

    KB9AZZ Premium Subscriber QRZ Page

    Looking for syntax formatting help. I want to pull the email addresses of all the technicians in my area to invite them to Field Day and future work shops on antenna building and working 10m during this sun spot cycle.

    Any help would be greatly appreciated.

    using this example I can pull a session key:

    https://xmldata.qrz.com/xml/1.31/?username=kb9azz;password=xxxxxxx

    using this example I can pull my own data:

    https://xmldata.qrz.com/xml/current/?s=f2fe700f71ba895f1dac0c5ad4f4516c;callsign=kb9azz

    However if I try any other data like zip code or county I get an error

    Trying this string fails

    https://xmldata.qrz.com/xml/current...90/username=kb9azz;password=xxxxxxx;zip=54738
     
  2. KF8KI

    KF8KI QRZ Staff Engineer QRZ HQ Staff QRZ Page

    The XML interface is intended only for individual callsign look ups. It doesn't have the capability of returning a query like you're trying to do. That's why you're getting an error.

    You can use the advanced search tool on the website and search by name and address. Search by zip code works there.

    upload_2025-6-22_12-8-21.png

    73, Steve KF8KI
     
    AD5HQ and K2DSL like this.
  3. KB9AZZ

    KB9AZZ Premium Subscriber QRZ Page

    Thank you I will use that interface. So the XML interface is intended for logging and single callsign lookups only. Besides callsign what other parameters can I use or lookup?
     
  4. KF8KI

    KF8KI QRZ Staff Engineer QRZ HQ Staff QRZ Page

    N3RYB and AD5HQ like this.
  5. SP6MI

    SP6MI XML Subscriber QRZ Page

    Any idea why each time I try to get session key I got

    Code:
    <QRZDatabase xmlns="http://xmldata.qrz.com" version="1.31">
    <Session>
    <Error>Username/password incorrect </Error>
    <GMTime>Wed Jul 16 07:29:38 2025</GMTime>
    <Remark>cpu: 0.080s</Remark>
    </Session>
    </QRZDatabase>
    I've tried with my password in "", or escaping special characters with \ nothing woks, my password still works when I want to login via web browser. I'm xml subscriber, do I need to wait some time after subscription renewal?

    VY 73
    Marcin SP6MI
     

Share This Page

ad: MarlFlea-1