Playground Sign in Start free
Recipe News and finance

Press Trust of India scraper API: search results and articles as JSON

Send any Press Trust of India page URL with recipe=ptinews and get headline, summary, url and 5 more fields as JSON. No selectors to write, no proxies to pick.

  • 2 page types
  • 8 fields
  • 5 credits a page · $0.50 per 1,000
  • Working · 100% in 7 days

5,000 free credits for 7 days, no card.

recipe=ptinews/listing
curl -G 'https://api.ujeebu.com/scrape' \
  -H "ApiKey: $UJEEBU_API_KEY" \
  --data-urlencode 'url=https://www.ptinews.com/international-news' \
  --data-urlencode 'recipe=ptinews/listing'
200 OK · JSON
{
    "result": {
        "headline": "Pak defence expert stresses need to resolve d...",
        "summary": "A senior Pakistani defence expert on Wednesda..."
    },
    "success": true
}

What you get from Press Trust of India

The fields of each page type and a real sample from our last validation, shortened.

Search and listing pages recipe=ptinews/listing 5 credits a page

FieldTypeExample
articleslist of 3+ items
articles[].headlinetextPak defence expert stresses need to resolve disputes with India
articles[].summarytextA senior Pakistani defence expert on Wednesday stressed the need to...
articles[].urlURLhttps://www.ptinews.com/story/international/pak-defence-expert-stre...

Sample answer, validated 2026-10-29

{
    "articles": [
        {
            "headline": "Pak defence expert stresses need to resolve disputes with India",
            "summary": "A senior Pakistani defence expert on Wednesday stressed the need to resolve the disputes with India, warning that ending a crisis without addressing its root...",
            "url": "https://www.ptinews.com/story/international/pak-defence-expert-stresses-need-to-resolve-disputes-with-india/4187644"
        },
        {
            "headline": "Goyal to visit Germany, Netherlands from Oct 22-27; to discuss ways for boosting trade, investment",
            "summary": "Accompanied by about 100 business leaders, Commerce and Industry Minister Piyush Goyal will visit two European countries - Germany and the Netherlands - from...",
            "url": "https://www.ptinews.com/story/international/goyal-to-visit-germany-netherlands-from-oct-22-27;-to-discuss-ways-for-boosting-trade-investment/4187279"
        }
    ]
}

One call

Send the page URL and the recipe name to the Scrape API. The recipe brings the extract rules and the settings that work on Press Trust of India (JavaScript rendering and a wait for the content).

curl -G 'https://api.ujeebu.com/scrape' \
  -H "ApiKey: $UJEEBU_API_KEY" \
  --data-urlencode 'url=https://www.ptinews.com/international-news' \
  --data-urlencode 'recipe=ptinews/listing'

The answer is {"result": {...}} with the headers Ujb-Recipe and Ujb-Credits. Other page types: recipe=ptinews/detail, or recipe=ptinews and the API picks the page type from the URL. Your own parameters always win over the recipe.

What people build with Press Trust of India data

  • Media monitoring

    Track the articles published on the topics and companies you follow.

    Learn more
  • Content for AI and RAG

    Collect headlines, dates and summaries as structured input for search and LLM pipelines.

    Learn more
  • Publishing timeline

    Measure when and how often a site publishes, by section.

Price

Same price as the page call, no fee for the recipe. Only successful responses are billed; blocked, timed-out and failed requests are free.

Page typeCredits a pagePer 1,000, StarterPer 1,000, Pro
Search results, Article5$0.82$0.50

See all plans

FAQ

What does the Press Trust of India recipe return?

JSON with 8 fields from search results (recipe=ptinews/listing) and article (recipe=ptinews/detail), for example headline, summary, url. The answer is {"result": {...}} with the fields shown on this page.

How much does it cost to scrape Press Trust of India?

5 credits a page ($0.50 per 1,000 on Pro, $0.82 on Starter). Same price as the page call, no fee for the recipe. Only successful responses are billed; blocked, timed-out and failed requests are free.

Do I need proxies or a headless browser?

No. The recipe brings the settings that work on Press Trust of India: JavaScript rendering and a wait for the content. Send only the URL and recipe=ptinews/listing.

What happens when Press Trust of India changes its pages?

We check Press Trust of India every day and re-validate the recipe on real pages every week, then fix it when the site changes. Until a fix is live, the API answers 404 "the recipe has no working version" instead of empty data, and that call is free.

Can I change the fields?

Yes. Send your own extract_rules or any setting (js, proxy_type, wait_for) and it wins over the recipe. The developer guide shows the recipe rules to start from.

Get Press Trust of India data as JSON today.

5,000 free credits for 7 days. No card.