Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9095183
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T23:32:02+00:00 2026-06-16T23:32:02+00:00

I want to get the JSON data from the URL below and use it

  • 0

I want to get the JSON data from the URL below and use it in my webpage in any way possible, can it be done?

http://fantasy.premierleague.com/web/api/elements/100/

(Note I do not own this site, I’m just using the data for a simple free app.)

If I simply enter the URL into the browser it works but that’s no good as I want my page to use the data, so an AJAX request would be ideal but I cannot get it to work.
I’ve tried using a jQuery AJAX call but cannot get it to work.

I’m staring to think it’s not possible from within the browser and I would need to use Mechanize or something like that, which is not really an option.

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T23:32:03+00:00Added an answer on June 16, 2026 at 11:32 pm

    I had this working, and now the error function is getting executed with a 200 status code. Is it possible they limit the number of queries per x seconds because it is working intermittently.

    Edit: Something is going on with their caching. Stuff is jacked.

    $.ajax({
        type:"GET", 
        url: "http://fantasy.premierleague.com/web/api/elements/100/", 
        success: function(data) {
                $("body").append(JSON.stringify(data));
            }, 
        error: function(jqXHR, textStatus, errorThrown) {
                alert(jqXHR.status);
            },
       dataType: "jsonp"
    });​​​​​​​​​​​​​​​
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want use php curl with oauth to get the JSON data from twitter
What I want to do is to get Json data out as a list
I want get as much as possible from Redis + Hiredis + libevent. I'm
What I want: get a xml from the AppData to use What I code
Basically I want get data I already have accessed from javascript and passing it
I want to fetch data from JSON based on the employeeID. This is how
I am getting json data as a response back from the server. I want
I'm using the jQueryUI autocomplete widget to get data from a JSON web service.
I need to get json data from an external domain. I used webrequest to
Iam new to iphone development, i want to get data from the web service

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.