Services
-
Find Government Jobs
-
Change of Address
-
Get It Done Online!
Blog
-
News from our Blog
-
-
Government Agencies
-
All Government
-
Federal Government
-
State, Local, and Tribal
1.USA.gov URLs are created whenever anyone shortens a .gov or .mil URL using bitly.
We provide a raw pub/sub feed of data created any time anyone clicks on a 1.USA.gov URL. The pub/sub endpoint responds to http requests for any 1.USA.gov URL and returns a stream of JSON entries, one per line, that represent real-time clicks.
If you are using the 1.USA.gov data and have feedback or want to tell us about your product, please e-mail us.
You can access the feed at http://developer.usa.gov/1usagov
We store hourly archives of the raw data. You can also explore the raw data on Data.gov.
The JSON data dictionary is as follows:
{
"a": USER_AGENT,
"c": COUNTRY_CODE, # 2-character iso code
"nk": KNOWN_USER, # 1 or 0. 0=this is the first time we've seen this browser
"g": GLOBAL_BITLY_HASH,
"h": ENCODING_USER_BITLY_HASH,
"l": ENCODING_USER_LOGIN,
"hh": SHORT_URL_CNAME,
"r": REFERRING_URL,
"u": LONG_URL,
"t": TIMESTAMP,
"gr": GEO_REGION,
"ll": [LATITUDE, LONGITUDE],
"cy": GEO_CITY_NAME,
"tz": TIMEZONE # in http://en.wikipedia.org/wiki/Zoneinfo format
"hc": TIMESTAMP OF TIME HASH WAS CREATED,
"al": ACCEPT_LANGUAGE http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.4
}
We held a nationwide 1.USA.gov Hack Day on July 29, 2011 to encourage people to explore the 1.USA.gov data. The following code was created by participants and shared publicly for others to use:
A number of items were created in anticipation of and at the Hack Day. Most tools centered around finding popular links, showing links by location, and using click data to enhance security:
By using this data, you agree to the Terms of Service.
Page Last Reviewed or Updated: May 16, 2013