GET account/settings

Returns settings (including current trend, geo and sleep time information) for the authenticating user.

Resource URL

https://api.twitter.com/1.1/account/settings.json

Resource Information

Response formats JSON
Requires authentication? Yes (user context only)
Rate limited? Yes
Requests / 15-min window (user auth) 15

Parameters

None

Example Request

GET https://api.twitter.com/1.1/account/settings.json

Example Response

{
    "always_use_https": true,
    "discoverable_by_email": true,
    "geo_enabled": true,
    "language": "en",
    "protected": false,
    "screen_name": "theSeanCook",
    "show_all_inline_media": false,
    "sleep_time": {
        "enabled": false,
        "end_time": null,
        "start_time": null
    },
    "time_zone": {
        "name": "Pacific Time (US & Canada)",
        "tzinfo_name": "America/Los_Angeles",
        "utc_offset": -28800
    },
    "trend_location": [
        {
            "country": "United States",
            "countryCode": "US",
            "name": "Atlanta",
            "parentid": 23424977,
            "placeType": {
                "code": 7,
                "name": "Town"
            },
            "url": "http://where.yahooapis.com/v1/place/2357024",
            "woeid": 2357024
        }
    ],
    "use_cookie_personalization": true,
    "allow_contributor_request": "all"
}

Was this document helpful?

Thank you

Thank you for the feedback. We’re really glad we could help!

Thank you for the feedback. How could we improve this document?

Thank you for the feedback. Your comments will help us improve our documents in the future.